public interface Command
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Executes this command
|
java.util.Date |
getTime()
Returns time when this command was first executed.
|
boolean |
isExecuted()
Returns
true if command have been already executed and is not rolled back. |
boolean |
rollBack()
Rolls back this command
|
void |
setExecuted(boolean executed)
Explicitly sets executed status, do not perform any execution or roll-backing.
|
boolean execute()
true if command was successfully executedboolean rollBack()
true if command was successfully rolled backvoid setExecuted(boolean executed)
boolean isExecuted()
true if command have been already executed and is not rolled back.true if command have been already executedjava.util.Date getTime()