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

java.lang.Object
  extended by org.apache.falcon.workflow.WorkflowBuilder<T>
      extended by org.apache.falcon.workflow.OozieWorkflowBuilder<T>
Type Parameters:
T -
Direct Known Subclasses:
OozieFeedWorkflowBuilder, OozieProcessWorkflowBuilder

public abstract class OozieWorkflowBuilder<T extends Entity>
extends WorkflowBuilder<T>

Base workflow builder for falcon entities.


Field Summary
protected static ConfigurationStore CONFIG_STORE
           
 
Constructor Summary
OozieWorkflowBuilder()
           
 
Method Summary
protected  Properties createAppProperties(String clusterName, Path bundlePath, String user)
           
abstract  Date getNextStartTime(T entity, String cluster, Date now)
           
 
Methods inherited from class org.apache.falcon.workflow.WorkflowBuilder
getBuilder, getWorkflowNames, newWorkflowSchedule, newWorkflowSchedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_STORE

protected static final ConfigurationStore CONFIG_STORE
Constructor Detail

OozieWorkflowBuilder

public OozieWorkflowBuilder()
Method Detail

createAppProperties

protected Properties createAppProperties(String clusterName,
                                         Path bundlePath,
                                         String user)
                                  throws FalconException
Throws:
FalconException

getNextStartTime

public abstract Date getNextStartTime(T entity,
                                      String cluster,
                                      Date now)
                               throws FalconException
Throws:
FalconException


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.