public class CommitRequest
extends java.lang.Object
Constructor and Description |
---|
CommitRequest()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addCommitTask(CommitTask commitTask)
This method adds a new commit task.
|
CommitTask[] |
getCommitTasks()
This method returns the commit tasks.
|
boolean |
isTransactionUnique()
This method returns whether the commit request should have a unique transaction.
|
void |
setUniqueTransaction(boolean uniqueTransaction)
This method sets whether the commit request requires a separate transaction.
|
java.lang.String |
toString()
This method returns a
String representation of the object. |
public CommitRequest()
public boolean isTransactionUnique()
public void setUniqueTransaction(boolean uniqueTransaction)
uniqueTransaction
- A boolean
value; true
if a separate
transaction is required and false otherwise.public void addCommitTask(CommitTask commitTask)
commitTask
- A commit task.public CommitTask[] getCommitTasks()
public java.lang.String toString()
String
representation of the object.toString
in class java.lang.Object
String
version of the object.