Package org.hippoecm.addon.workflow
Interface IWorkflowInvoker
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
ActionDescription
,BranchAwareStdWorkflow
,CompatibilityWorkflowPlugin.WorkflowAction
,ConfirmDialog
,DestinationDialog
,FeedbackStdWorkflow
,StdWorkflow
,TextDialog
public interface IWorkflowInvoker extends org.apache.wicket.util.io.IClusterable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
invokeWorkflow()
default void
reject(String reason)
If a workflow invocation has failed it can be rejected.default void
resolve(String result)
After a workflow invocation has finished successfully it can be resolved.
-
-
-
Method Detail
-
resolve
default void resolve(String result)
After a workflow invocation has finished successfully it can be resolved. This is introduced to allow workflow calls to be invoked from javascript via a promise API. For backwards compatibility this method has a default implementation.- Parameters:
result
- The result of a workflow call. Can be null.- Since:
- 14.3
-
reject
default void reject(String reason)
If a workflow invocation has failed it can be rejected. This is introduced to allow workflow calls to be invoked from javascript via a promise API. For backwards compatibility this method has a default implementation.- Parameters:
reason
- The reason the workflow invocation failed. Can be null.- Since:
- 14.3
-
-