public class CommitTask extends Task
Constructor and Description |
---|
CommitTask()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addCommitStatement(java.lang.String commitStatement)
This method adds a commit statement.
|
java.util.List |
getCommitStatementList()
This method returns the commit statements for the commit task.
|
java.lang.String[] |
getCommitStatements()
This method returns the commit statements for the commit task.
|
java.lang.String |
getPlatform()
This method returns the platform for the commit statements.
|
java.lang.String |
getResource()
This method returns the resource for the commit statements.
|
java.lang.String |
getResourceKeys()
This method returns the resource keys for the commit statements.
|
boolean |
isGenerated()
This method returns whether the statements should be automatically generated.
|
void |
setIsGenerated(boolean generated)
This method sets whether the statements should be generated.
|
void |
setPlatform(java.lang.String platform)
This method sets the platform for the statements.
|
void |
setResource(java.lang.String resource)
This method sets the resource for the statements.
|
void |
setResourceKeys(java.lang.String resourceKeys)
This method sets the resource keys for the statements.
|
java.lang.String |
toString()
This method returns a
String representation of the object. |
public CommitTask()
public void addCommitStatement(java.lang.String commitStatement)
commitStatement
- The commit statement.public java.lang.String[] getCommitStatements()
public java.util.List getCommitStatementList()
public java.lang.String toString()
String
representation of the object.public boolean isGenerated()
public java.lang.String getResource()
public java.lang.String getResourceKeys()
public java.lang.String getPlatform()
public void setIsGenerated(boolean generated)
isGenerated
- A boolean
value; true
if the statements should be generated and false
otherwise.public void setResource(java.lang.String resource)
resource
- The resource.public void setResourceKeys(java.lang.String resourceKeys)
resourceKeys
- The resource keys.public void setPlatform(java.lang.String platform)
platform
- The platform.