Class SideEffectsContext
java.lang.Object
com.broadleafcommerce.workflow.service.SideEffectsContext
Threadlocal information related to workflow state and side effects.
-
Constructor Summary
ConstructorsConstructorDescriptionSideEffectsContext
(Stack<com.broadleafcommerce.data.tracking.core.Trackable> sideEffects, String workflowId, String tenantId, boolean isReplayOnly, com.broadleafcommerce.orchestration.client.SimpleWorkflow simpleWorkflow) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
exec
(Runnable runnable, Stack<com.broadleafcommerce.data.tracking.core.Trackable> sideEffects, String workflowId, String tenantId, boolean isReplayOnly, com.broadleafcommerce.orchestration.client.SimpleWorkflow simpleWorkflow) static SideEffectsContext
get()
long
getCount()
Stack<com.broadleafcommerce.data.tracking.core.Trackable>
Stack<com.broadleafcommerce.data.tracking.core.Trackable>
com.broadleafcommerce.orchestration.client.SimpleWorkflow
boolean
-
Constructor Details
-
SideEffectsContext
-
-
Method Details
-
getCount
public long getCount() -
get
-
exec
-
getSideEffects
-
getWorkflowId
-
getTenantId
-
isReplayOnly
public boolean isReplayOnly() -
getSimpleWorkflow
public com.broadleafcommerce.orchestration.client.SimpleWorkflow getSimpleWorkflow() -
getNewSideEffects
-