public class CommitBuilder
extends java.lang.Object
Constructor and Description |
---|
CommitBuilder() |
Modifier and Type | Method and Description |
---|---|
CommitBuilder |
attribute(java.lang.String key,
java.lang.String value)
Assign a generic attribute
|
java.lang.String |
getArchiveId() |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes() |
java.lang.String |
getId() |
java.lang.String |
getStage() |
java.lang.String |
getTagKey() |
java.lang.String |
getType() |
java.lang.String |
getVersion() |
CommitBuilder |
message(java.lang.String message)
Assign the commit message.
|
CommitBuilder |
stage(java.lang.String stage)
Assigns the commit's stage.
|
CommitBuilder |
tagKey(java.lang.String key)
Sets the tagKey
|
java.lang.String |
toString() |
CommitBuilder |
type(java.lang.String type)
Assigns the commit's type.
|
void |
validate() |
CommitBuilder |
version(int major,
int minor,
int micro,
java.lang.String qualifier)
Assign a version.
|
public CommitBuilder stage(java.lang.String stage)
public java.lang.String getStage()
public CommitBuilder type(java.lang.String type)
public java.lang.String getType()
public CommitBuilder tagKey(java.lang.String key)
public java.lang.String getTagKey()
public CommitBuilder version(int major, int minor, int micro, java.lang.String qualifier)
public java.lang.String getVersion()
public CommitBuilder message(java.lang.String message)
public CommitBuilder attribute(java.lang.String key, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public java.lang.String getId()
public java.lang.String getArchiveId()
public void validate()
public java.lang.String toString()
toString
in class java.lang.Object