org.apache.falcon.workflow
Class WorkflowBuilder<T extends Entity>

java.lang.Object
  extended by 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.


Constructor Summary
WorkflowBuilder()
           
 
Method Summary
static WorkflowBuilder<Entity> getBuilder(String engine, Entity entity)
           
abstract  String[] getWorkflowNames(T entity)
           
abstract  Properties newWorkflowSchedule(T entity, Date startDate, String clusterName, String user)
           
abstract  Map<String,Properties> newWorkflowSchedule(T entity, List<String> clusters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowBuilder

public WorkflowBuilder()
Method Detail

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.