public class DefaultWorkflowDecisionMaker extends java.lang.Object implements WorkflowDecisionMaker
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTEXT_PARAMETER_DECISION
A parameter passed to global notification context containing an decision that has been made
|
| Constructor and Description |
|---|
DefaultWorkflowDecisionMaker() |
| Modifier and Type | Method and Description |
|---|---|
protected NotificationService |
getNotificationService() |
protected java.lang.String |
getNotificationSource(WidgetInstanceManager widgetInstanceManager)
Deprecated.
since 6.7, use
NotificationService#getWidgetNotificationSource(WidgetInstanceManager) instead. |
protected WorkflowEventPublisher |
getWorkflowEventPublisher() |
protected WorkflowProcessingService |
getWorkflowProcessingService() |
void |
makeDecision(WorkflowActionModel workflowAction,
WorkflowDecisionModel selectedDecision,
WidgetInstanceManager widgetInstanceManager)
Sets selected decision for given workflow action
|
void |
setNotificationService(NotificationService notificationService) |
void |
setWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher) |
void |
setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) |
public static final java.lang.String CONTEXT_PARAMETER_DECISION
public void makeDecision(WorkflowActionModel workflowAction, WorkflowDecisionModel selectedDecision, WidgetInstanceManager widgetInstanceManager)
WorkflowDecisionMakermakeDecision in interface WorkflowDecisionMakerworkflowAction - workflow action to decide onselectedDecision - decision to be made@Deprecated protected java.lang.String getNotificationSource(WidgetInstanceManager widgetInstanceManager)
NotificationService#getWidgetNotificationSource(WidgetInstanceManager) instead.protected WorkflowProcessingService getWorkflowProcessingService()
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
protected WorkflowEventPublisher getWorkflowEventPublisher()
public void setWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher)
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018 SAP SE. All Rights Reserved.