org.apache.oozie.service
Class LiteWorkflowAppService

java.lang.Object
  extended by org.apache.oozie.service.WorkflowAppService
      extended by org.apache.oozie.service.LiteWorkflowAppService
All Implemented Interfaces:
Service

public class LiteWorkflowAppService
extends WorkflowAppService

Service that provides workflow application definition reading, parsing and creating proto configuration.


Field Summary
 
Fields inherited from class org.apache.oozie.service.WorkflowAppService
APP_LIB_PATH_LIST, CONF_PREFIX, CONFG_MAX_WF_LENGTH, HADOOP_USER, OOZIE_SUBWORKFLOW_CLASSPATH_INHERITANCE, OOZIE_WF_SUBWORKFLOW_CLASSPATH_INHERITANCE, SYSTEM_LIB_PATH
 
Fields inherited from interface org.apache.oozie.service.Service
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND
 
Constructor Summary
LiteWorkflowAppService()
           
 
Method Summary
 WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf, String authToken)
          Parse workflow definition.
 WorkflowApp parseDef(String workflowXml, org.apache.hadoop.conf.Configuration jobConf)
          Parse workflow definition.
 
Methods inherited from class org.apache.oozie.service.WorkflowAppService
createProtoActionConf, destroy, getInterface, getSystemLibPath, init, readDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteWorkflowAppService

public LiteWorkflowAppService()
Method Detail

parseDef

public WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf,
                            String authToken)
                     throws WorkflowException
Parse workflow definition.

Specified by:
parseDef in class WorkflowAppService
Parameters:
jobConf - workflow job configuration.
authToken - authorization token.
Returns:
workflow application.
Throws:
WorkflowException - thrown if the workflow application could not be parsed.

parseDef

public WorkflowApp parseDef(String workflowXml,
                            org.apache.hadoop.conf.Configuration jobConf)
                     throws WorkflowException
Description copied from class: WorkflowAppService
Parse workflow definition.

Specified by:
parseDef in class WorkflowAppService
Parameters:
workflowXml - workflow.
jobConf - job configuration
Returns:
workflow application.
Throws:
WorkflowException - thrown if the workflow application could not be parsed.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.