org.apache.oozie.service
Class LiteWorkflowAppService
java.lang.Object
org.apache.oozie.service.WorkflowAppService
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiteWorkflowAppService
public LiteWorkflowAppService()
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.