public abstract class WorkflowStoreService extends Object implements Service
Modifier and Type | Field and Description |
---|---|
static String |
TRANSIENT_VAR_PREFIX |
static String |
WORKFLOW_BEAN |
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND
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 List<String> |
getActionsToFail(WorkflowInstance instance)
Return the list of action IDs to fail.
|
static List<String> |
getActionsToKill(WorkflowInstance instance)
Return the list of action IDs to kill.
|
static List<WorkflowActionBean> |
getActionsToStart(WorkflowInstance instance)
Return the list of actions started by a signal in an instance.
|
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 String TRANSIENT_VAR_PREFIX
public static final String WORKFLOW_BEAN
public WorkflowStoreService()
public Class<? extends Service> getInterface()
getInterface
in interface Service
WorkflowStoreService
.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 List<WorkflowActionBean> getActionsToStart(WorkflowInstance instance)
instance
- workflow instance that has been signaled.public static List<String> getActionsToKill(WorkflowInstance instance)
instance
- workflow instancepublic static List<String> getActionsToFail(WorkflowInstance instance)
instance
- workflow instanceCopyright © 2014 Apache Software Foundation. All Rights Reserved.