org.apache.falcon.workflow
Class WorkflowBuilder<T extends Entity>
java.lang.Object
org.apache.falcon.workflow.WorkflowBuilder<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
- OozieWorkflowBuilder
public abstract class WorkflowBuilder<T extends Entity>
- extends Object
Builder for building workflow definition for the underlying scheduler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowBuilder
public WorkflowBuilder()
getBuilder
public static WorkflowBuilder<Entity> getBuilder(String engine,
Entity entity)
throws FalconException
- Throws:
FalconException
newWorkflowSchedule
public abstract Map<String,Properties> newWorkflowSchedule(T entity,
List<String> clusters)
throws FalconException
- Throws:
FalconException
newWorkflowSchedule
public abstract Properties newWorkflowSchedule(T entity,
Date startDate,
String clusterName,
String user)
throws FalconException
- Throws:
FalconException
getWorkflowNames
public abstract String[] getWorkflowNames(T entity)
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.