public abstract class WorkflowStoreService extends java.lang.Object implements Service
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TRANSIENT_VAR_PREFIX |
static java.lang.String |
WORKFLOW_BEAN |
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description |
|---|
WorkflowStoreService() |
| Modifier and Type | Method and Description |
|---|---|
abstract WorkflowStore |
create()
Return a workflow store instance with a fresh transaction.
|
<S extends Store> |
create(S store)
Return a workflow store instance with an existing transaction.
|
static java.util.List<java.lang.String> |
getActionsToFail(WorkflowInstance instance)
Return the list of action IDs to fail.
|
static java.util.List<java.lang.String> |
getActionsToKill(WorkflowInstance instance)
Return the list of action IDs to kill.
|
static java.util.List<WorkflowActionBean> |
getActionsToStart(WorkflowInstance instance)
Return the list of actions started by a signal in an instance.
|
java.lang.Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
abstract WorkflowLib |
getWorkflowLibWithNoDB()
Return a workkflow lib, giving access to the parser functionality.
|
public static final java.lang.String TRANSIENT_VAR_PREFIX
public static final java.lang.String WORKFLOW_BEAN
public WorkflowStoreService()
public java.lang.Class<? extends Service> getInterface()
getInterface in interface ServiceWorkflowStoreService.public abstract WorkflowLib getWorkflowLibWithNoDB()
public abstract WorkflowStore create() throws StoreException
StoreException - thrown if the workflow store could not be created.public <S extends Store> WorkflowStore create(S store) throws StoreException
StoreException - thrown if the workflow store could not be created.public static java.util.List<WorkflowActionBean> getActionsToStart(WorkflowInstance instance)
instance - workflow instance that has been signaled.public static java.util.List<java.lang.String> getActionsToKill(WorkflowInstance instance)
instance - workflow instancepublic static java.util.List<java.lang.String> getActionsToFail(WorkflowInstance instance)
instance - workflow instanceCopyright © 2019 Apache Software Foundation. All Rights Reserved.