|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.core.command.ICommand
com.googlecode.jpattern.core.command.NullCommand
public class NullCommand
| Constructor Summary | |
|---|---|
NullCommand()
|
|
| Method Summary | |
|---|---|
ICommandResult |
exec()
This method launch the execution of the command (or chain of commands) using the default DefaultCommandExecutor. |
ICommandResult |
exec(ICommandExecutor asyncCommandPool)
This method launch the execution of the command (or chain of commands). |
ICommandResult |
rollback()
This method launch the rollback of the command (or chain of commands) using the default DefaultCommandExecutor. |
ICommandResult |
rollback(ICommandExecutor aCommandExecutor)
This method launch the rollback of the command (or chain of commands). |
ICommandResult |
rollback(ICommandResult execResult)
This method launch the rollback of the command (or chain of commands) only if the ICommandExecutor passed as parameter is not valid. |
ICommandResult |
rollback(ICommandResult execResult,
ICommandExecutor aCommandExecutor)
This method launch the rollback of the command (or chain of commands) only if the ICommandExecutor passed as parameter is not valid. |
void |
visit(IProvider provider)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullCommand()
| Method Detail |
|---|
public ICommandResult exec(ICommandExecutor asyncCommandPool)
ICommand
exec in class ICommandasyncCommandPool - the pool in which the command will runs
public ICommandResult exec()
ICommand
exec in class ICommandpublic void visit(IProvider provider)
visit in class ICommandpublic ICommandResult rollback()
ICommand
rollback in class ICommandpublic ICommandResult rollback(ICommandResult execResult)
ICommand
rollback in class ICommandexecResult - the result of a Command execution
public ICommandResult rollback(ICommandExecutor aCommandExecutor)
ICommand
rollback in class ICommandaCommandExecutor - the pool in which the command will runs
public ICommandResult rollback(ICommandResult execResult,
ICommandExecutor aCommandExecutor)
ICommand
rollback in class ICommandexecResult - the result of a Command executionaCommandExecutor - the pool in which the command will runs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||