public abstract class LiteWorkflowStoreService extends WorkflowStoreService
Modifier and Type | Class and Description |
---|---|
static class |
LiteWorkflowStoreService.LiteActionHandler |
static class |
LiteWorkflowStoreService.LiteControlNodeHandler |
static class |
LiteWorkflowStoreService.LiteDecisionHandler |
Modifier and Type | Field and Description |
---|---|
static String |
CONF_NODE_DEF_VERSION |
static String |
CONF_PREFIX |
static String |
CONF_PREFIX_USER_RETRY |
static String |
CONF_USER_RETRY_ERROR_CODE |
static String |
CONF_USER_RETRY_ERROR_CODE_EXT |
static String |
CONF_USER_RETRY_INTEVAL |
static String |
CONF_USER_RETRY_MAX |
static String |
CONF_USER_RETRY_POLICY |
static String |
DEFAULT_USER_RETRY_POLICY |
static String |
NODE_DEF_VERSION_0 |
static String |
NODE_DEF_VERSION_1 |
static String |
NODE_DEF_VERSION_2 |
static String |
USER_ERROR_CODE_ALL |
TRANSIENT_VAR_PREFIX, WORKFLOW_BEAN
DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
LiteWorkflowStoreService() |
Modifier and Type | Method and Description |
---|---|
static String |
getNodeDefDefaultVersion()
Get NodeDef default version, _oozie_inst_v_0, _oozie_inst_v_1 or
_oozie_inst_v_2
|
static Set<String> |
getUserRetryErrorCode()
Get system defined and instance defined error codes for which USER_RETRY is allowed
|
protected static void |
liteExecute(NodeHandler.Context context,
String actionType)
Delegation method used by the Action and Decision
NodeHandler on start. |
protected static void |
liteFail(NodeHandler.Context context)
Delegation method used when failing actions.
|
protected static void |
liteKill(NodeHandler.Context context)
Delegation method used when killing actions.
|
create, create, getActionsToFail, getActionsToKill, getActionsToStart, getInterface, getWorkflowLibWithNoDB
public static final String CONF_PREFIX
public static final String CONF_PREFIX_USER_RETRY
public static final String CONF_USER_RETRY_MAX
public static final String CONF_USER_RETRY_INTEVAL
public static final String CONF_USER_RETRY_POLICY
public static final String CONF_USER_RETRY_ERROR_CODE
public static final String CONF_USER_RETRY_ERROR_CODE_EXT
public static final String DEFAULT_USER_RETRY_POLICY
public static final String NODE_DEF_VERSION_0
public static final String NODE_DEF_VERSION_1
public static final String NODE_DEF_VERSION_2
public static final String CONF_NODE_DEF_VERSION
public static final String USER_ERROR_CODE_ALL
public LiteWorkflowStoreService()
protected static void liteExecute(NodeHandler.Context context, String actionType) throws WorkflowException
NodeHandler
on start. This method provides the necessary information to create ActionExecutors.
context
- NodeHandler context.actionType
- the action type.WorkflowException
- thrown if there was an error parsing the action configuration.public static Set<String> getUserRetryErrorCode()
public static String getNodeDefDefaultVersion() throws WorkflowException
WorkflowException
- thrown if there was an error parsing the action
configuration.protected static void liteFail(NodeHandler.Context context)
context
- NodeHandler context.protected static void liteKill(NodeHandler.Context context)
context
- NodeHandler context.Copyright © 2018 Apache Software Foundation. All rights reserved.