|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ESChangePackage
Represents a change package.
| Method Summary | |
|---|---|
void |
add(ESOperation operation)
Add a single a operation to this change package. |
void |
addAll(List<ESOperation> ops)
Adds a list of operations to this change package. |
void |
clear()
Clears all operations from this change package. |
ESLogMessage |
getLogMessage()
Returns the ESLogMessage that was entered by the
user and is supposed to describe the changes within
the change package. |
boolean |
isEmpty()
Whether this change package contains any operations. |
ESCloseableIterable<ESOperation> |
operations()
Returns an ESCloseableIterable that iterates over all operations
of this change package. |
List<ESOperation> |
removeFromEnd(int howMany)
Removes the given number of operations from this change package beginning at the end. |
ESChangePackage |
reverse()
Returns the operations of this change package in the reversed order. |
void |
setLogMessage(ESLogMessage logMessage)
Sets the log message of this change package. |
int |
size()
Returns the number of operations this change package contains. |
| Method Detail |
|---|
ESLogMessage getLogMessage()
ESLogMessage that was entered by the
user and is supposed to describe the changes within
the change package.
void setLogMessage(ESLogMessage logMessage)
logMessage - the log message to be setvoid addAll(List<ESOperation> ops)
ops - the operations to be addedvoid add(ESOperation operation)
operation - the operation to be addedvoid clear()
boolean isEmpty()
true, if this change package contains no operations, false otherwiseList<ESOperation> removeFromEnd(int howMany)
howMany - the number of operations to be removed
ESCloseableIterable<ESOperation> operations()
ESCloseableIterable that iterates over all operations
of this change package. close on the returned ESCloseableIterable.
ESCloseableIterable that enables iterating over all operations.ESChangePackage reverse()
close() on the returned ESCloseableIterable.
int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||