public class DefaultWorkflowProcessingService extends java.lang.Object implements WorkflowProcessingService
WorkflowProcessingService| Constructor and Description |
|---|
DefaultWorkflowProcessingService() |
public boolean activate(WorkflowActionModel action) throws ActivationWorkflowActionException
activate in interface WorkflowProcessingServiceaction - to be activatedActivationWorkflowActionExceptionprotected void writeAutomatedComment(WorkflowActionModel action, java.lang.String message, java.lang.String... messageParams)
public void decideAction(WorkflowActionModel action, WorkflowDecisionModel decision)
decideAction in interface WorkflowProcessingServiceaction - to be decideddecision - madepublic void setAndConnectionBetweenActionAndDecision(WorkflowDecisionModel decision, WorkflowActionModel workflowAction)
WorkflowProcessingServicesetAndConnectionBetweenActionAndDecision in interface WorkflowProcessingServicepublic void setOrConnectionBetweenActionAndDecision(WorkflowDecisionModel decision, WorkflowActionModel workflowAction)
WorkflowProcessingServicesetOrConnectionBetweenActionAndDecision in interface WorkflowProcessingServicepublic boolean startWorkflow(WorkflowModel workflowModel)
startWorkflow in interface WorkflowProcessingServiceworkflowModel - to be startedprotected boolean predecessorsCompleted(WorkflowActionModel action)
public boolean endWorkflow(WorkflowModel workflow)
endWorkflow in interface WorkflowProcessingServiceworkflow - to be endedpublic boolean terminateWorkflow(WorkflowModel workflowModel)
terminateWorkflow in interface WorkflowProcessingServiceworkflowModel - to be terminatedpublic java.util.Collection<LinkModel> getLinks(AbstractWorkflowDecisionModel decision, AbstractWorkflowActionModel action)
protected void chosen(WorkflowDecisionModel selDec)
protected void checkIncomingLinks(WorkflowActionModel action)
protected void decide(WorkflowActionModel action)
public boolean toggleActions(WorkflowModel workflow)
toggleActions in interface WorkflowProcessingServicepublic void setModelService(ModelService modelService)
modelService - the modelService to setpublic void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
flexibleSearchService - the flexibleSearchService to setpublic void setWorkflowActionService(WorkflowActionService workflowActionService)
workflowActionService - the workflowActionService to setpublic void setActionActivationStrategy(ActionActivationStrategy actionActivationStrategy)
actionActivationStrategy - the actionActivationStrategy to setpublic void setDecideActionStrategy(DecideActionStrategy decideActionStrategy)
decideActionStrategy - the decideActionStrategy to setpublic void setWorkflowService(WorkflowService workflowService)
workflowService - the workflowService to setpublic AutomatedWorkflowTemplateRegistry getAutomatedWorkflowRegistry()
public AutomatedWorkflowTemplateRegistry lookupAutomatedWorkflowRegistry()
Copyright © 2018 SAP SE. All Rights Reserved.