This project has retired. For details please refer to its
Attic page.
LiteWorkflowAppService (Apache Oozie Core 4.0.0 API)
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.
|
Method Summary |
WorkflowApp |
parseDef(org.apache.hadoop.conf.Configuration jobConf)
Parse workflow definition. |
WorkflowApp |
parseDef(String workflowXml,
org.apache.hadoop.conf.Configuration jobConf)
Parse workflow definition. |
| 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)
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.