|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandAPI
To allow developpers to write and execute its own commands packaged within its application.
TxHook
Method Summary | ||
---|---|---|
|
execute(Command<T> command)
Executes a command deployed at common level or one available in bonita distribution. |
|
|
execute(Command<T> command,
ProcessDefinitionUUID processUUID)
Executes a command deployed at package level. |
Method Detail |
---|
<T> T execute(Command<T> command) throws java.lang.Exception
command
- Command to execute
java.lang.Exception
- if an exception occurs during the command execution<T> T execute(Command<T> command, ProcessDefinitionUUID processUUID) throws java.lang.Exception
command
- Command to executeprocessUUID
- UUID of the package in which the command was deployed (result of bar deployment)
java.lang.Exception
- if an exception occurs during the command execution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |