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
Modifier and TypeMethodDescriptionvoid
default void
If a workflow invocation has failed it can be rejected.default void
After a workflow invocation has finished successfully it can be resolved.
-
Method Details
-
invokeWorkflow
- Throws:
Exception
-
resolve
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
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
-