Package com.adobe.granite.workflow.exec
Interface DynamicParticipantExecutor
-
- All Known Implementing Classes:
CQDynamicParticipantExecutor
public interface DynamicParticipantExecutorService Interface to support execution of 3rd party dynamic participant selection code.- See Also:
WorkflowProcess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanExecute(java.lang.String workflowStepResource)Returns true if this service can process the specified resource, false otherwise.java.lang.StringgetParticipant(java.lang.String resourceName, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)Returns the dynamically resolvedPrincipalid
-
-
-
Method Detail
-
canExecute
boolean canExecute(java.lang.String workflowStepResource)
Returns true if this service can process the specified resource, false otherwise.- Parameters:
workflowStepResource- the resource identifying the code to execute for this workflow step.- Returns:
- true if this service can process the specified resource, false otherwise.
-
getParticipant
java.lang.String getParticipant(java.lang.String resourceName, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)Returns the dynamically resolvedPrincipalid- Parameters:
resourceName- Resource NameworkItem- Current workitemworkflowSession- Workflow sessionmetaData- Participant chooser specific arguments can be passed here- Returns:
- the dynamically resolved
Principalid
-
-