org.apache.falcon.workflow
Class OozieFeedWorkflowBuilder

java.lang.Object
  extended by org.apache.falcon.workflow.WorkflowBuilder<T>
      extended by org.apache.falcon.workflow.OozieWorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>
          extended by org.apache.falcon.workflow.OozieFeedWorkflowBuilder

public class OozieFeedWorkflowBuilder
extends OozieWorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>

Workflow definition builder for feed replication & retention.


Field Summary
 
Fields inherited from class org.apache.falcon.workflow.OozieWorkflowBuilder
CONFIG_STORE
 
Constructor Summary
OozieFeedWorkflowBuilder()
           
 
Method Summary
 Date getNextStartTime(org.apache.falcon.entity.v0.feed.Feed feed, String cluster, Date now)
           
 String[] getWorkflowNames(org.apache.falcon.entity.v0.feed.Feed entity)
           
 Properties newWorkflowSchedule(org.apache.falcon.entity.v0.feed.Feed feed, Date startDate, String clusterName, String user)
           
 Map<String,Properties> newWorkflowSchedule(org.apache.falcon.entity.v0.feed.Feed feed, List<String> clusters)
           
 
Methods inherited from class org.apache.falcon.workflow.OozieWorkflowBuilder
createAppProperties
 
Methods inherited from class org.apache.falcon.workflow.WorkflowBuilder
getBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OozieFeedWorkflowBuilder

public OozieFeedWorkflowBuilder()
Method Detail

newWorkflowSchedule

public Map<String,Properties> newWorkflowSchedule(org.apache.falcon.entity.v0.feed.Feed feed,
                                                  List<String> clusters)
                                           throws FalconException
Specified by:
newWorkflowSchedule in class WorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>
Throws:
FalconException

newWorkflowSchedule

public Properties newWorkflowSchedule(org.apache.falcon.entity.v0.feed.Feed feed,
                                      Date startDate,
                                      String clusterName,
                                      String user)
                               throws FalconException
Specified by:
newWorkflowSchedule in class WorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>
Throws:
FalconException

getNextStartTime

public Date getNextStartTime(org.apache.falcon.entity.v0.feed.Feed feed,
                             String cluster,
                             Date now)
                      throws FalconException
Specified by:
getNextStartTime in class OozieWorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>
Throws:
FalconException

getWorkflowNames

public String[] getWorkflowNames(org.apache.falcon.entity.v0.feed.Feed entity)
Specified by:
getWorkflowNames in class WorkflowBuilder<org.apache.falcon.entity.v0.feed.Feed>


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