org.apache.falcon.workflow
Class OozieProcessWorkflowBuilder

java.lang.Object
  extended by org.apache.falcon.workflow.WorkflowBuilder<T>
      extended by org.apache.falcon.workflow.OozieWorkflowBuilder<org.apache.falcon.entity.v0.process.Process>
          extended by org.apache.falcon.workflow.OozieProcessWorkflowBuilder

public class OozieProcessWorkflowBuilder
extends OozieWorkflowBuilder<org.apache.falcon.entity.v0.process.Process>

Oozie workflow builder for falcon entities.


Field Summary
 
Fields inherited from class org.apache.falcon.workflow.OozieWorkflowBuilder
CONFIG_STORE
 
Constructor Summary
OozieProcessWorkflowBuilder()
           
 
Method Summary
 Date getNextStartTime(org.apache.falcon.entity.v0.process.Process process, String cluster, Date now)
           
 String[] getWorkflowNames(org.apache.falcon.entity.v0.process.Process process)
           
 Properties newWorkflowSchedule(org.apache.falcon.entity.v0.process.Process process, Date startDate, String clusterName, String user)
           
 Map<String,Properties> newWorkflowSchedule(org.apache.falcon.entity.v0.process.Process process, 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

OozieProcessWorkflowBuilder

public OozieProcessWorkflowBuilder()
Method Detail

newWorkflowSchedule

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

newWorkflowSchedule

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

getNextStartTime

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

getWorkflowNames

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


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