|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.DagELFunctions
public class DagELFunctions
DAG EL functions.
Field Summary | |
---|---|
static String |
HADOOP_JOBS_PREFIX
|
Constructor Summary | |
---|---|
DagELFunctions()
|
Method Summary | |
---|---|
static void |
configureEvaluator(ELEvaluator evaluator,
WorkflowJobBean workflow,
WorkflowActionBean action)
|
static WorkflowActionBean |
getAction()
|
static String |
getActionVar(String actionName,
String varName)
|
static org.apache.hadoop.conf.Configuration |
getProtoActionConf()
|
static WorkflowJobBean |
getWorkflow()
|
static void |
setActionInfo(WorkflowInstance workflowInstance,
org.apache.oozie.client.WorkflowAction action)
|
static Map<String,String> |
wf_actionData(String actionName)
Return the action data for an action. |
static String |
wf_actionExternalId(String actionName)
Return the external ID of an action. |
static String |
wf_actionExternalStatus(String actionName)
Return the action external status. |
static String |
wf_actionTrackerUri(String actionName)
Return the tracker URI of an action. |
static String |
wf_appPath()
Return the application path. |
static String |
wf_callback(String externalStatusVar)
Create a callback URL for the current action. |
static String |
wf_conf(String property)
Return a job configuration property. |
static String |
wf_errorCode(String actionName)
Return the error code for an action. |
static String |
wf_errorMessage(String actionName)
Return the error message for an action. |
static String |
wf_group()
Return the job owner group name. |
static String |
wf_id()
Return the job Id. |
static String |
wf_lastErrorNode()
Return the name of the last action that ended in error. |
static String |
wf_name()
Return the application name. |
static int |
wf_run()
Return the workflow run number, unless a rerun it is always 1. |
static String |
wf_transition(String actionName)
Return the transition taken by a workflow job action/decision action. |
static String |
wf_user()
Return the job owner user name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HADOOP_JOBS_PREFIX
Constructor Detail |
---|
public DagELFunctions()
Method Detail |
---|
public static void configureEvaluator(ELEvaluator evaluator, WorkflowJobBean workflow, WorkflowActionBean action)
public static WorkflowActionBean getAction()
public static WorkflowJobBean getWorkflow()
public static org.apache.hadoop.conf.Configuration getProtoActionConf()
public static void setActionInfo(WorkflowInstance workflowInstance, org.apache.oozie.client.WorkflowAction action)
public static String wf_id()
public static String wf_name()
public static String wf_appPath()
public static String wf_conf(String property)
property
- property name.
null
if the property is undefined.public static String wf_user()
public static String wf_group()
public static String wf_callback(String externalStatusVar)
externalStatusVar
- variable for the caller to inject the external status.
public static String wf_transition(String actionName)
actionName
- action/decision action name.
null
if the action has not completed yet.public static String wf_lastErrorNode()
null
if no action in the workflow job has
ended in error.public static String wf_errorCode(String actionName)
actionName
- action name.
null
if the action has not ended in error.public static String wf_errorMessage(String actionName)
actionName
- action name.
null
if the action has not ended in error.public static int wf_run()
public static Map<String,String> wf_actionData(String actionName)
actionName
- action name.
public static String wf_actionExternalId(String actionName)
actionName
- action name.
public static String wf_actionTrackerUri(String actionName)
actionName
- action name.
public static String wf_actionExternalStatus(String actionName)
actionName
- action/decision action name.
public static String getActionVar(String actionName, String varName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |