public class TestActionTemp<T extends BusinessProcessModel> extends AbstractAction<T>
modelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
TestActionTemp() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(T process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
protected BusinessProcessService |
getBusinessProcessService() |
java.lang.String |
getResult() |
java.util.Set<java.lang.String> |
getTransitions()
Accesses all possible return codes of this
Action. |
void |
setResult(java.lang.String result) |
void |
setThrowException(boolean throwException) |
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextpublic java.lang.String getResult()
public void setResult(java.lang.String result)
public void setThrowException(boolean throwException)
public java.lang.String execute(T process) throws java.lang.Exception
ActionAction's business logic working on the given BusinessProcessModel.process - The process context to work on.java.lang.Exceptionpublic java.util.Set<java.lang.String> getTransitions()
ActionAction. This method is used by the process engine to validate a
process definition. Furthermore it can be used by (graphical) editors to access all return codes which have to mapped
in transitions.Actionprotected BusinessProcessService getBusinessProcessService()
Copyright © 2018 SAP SE. All Rights Reserved.