public static class

Workflow.Builder

extends Object
java.lang.Object
   ↳ org.apache.helix.task.Workflow.Builder

Class Overview

Build a workflow incrementally from dependencies and single configs, validate at build time

Summary

Public Constructors
Workflow.Builder(String name)
Public Methods
Workflow.Builder addConfig(String job, String key, String val)
Workflow.Builder addJobCommandConfigMap(String job, Map<StringString> jobConfigMap)
Workflow.Builder addJobConfig(String job, JobConfig.Builder jobConfigBuilder)
Workflow.Builder addParentChildDependency(String parent, String child)
Workflow.Builder addTaskConfigs(String job, Collection<TaskConfig> taskConfigs)
Workflow build()
String namespacify(String job)
Workflow.Builder setExpiry(long expiry)
Workflow.Builder setScheduleConfig(ScheduleConfig scheduleConfig)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Workflow.Builder (String name)

Public Methods

public Workflow.Builder addConfig (String job, String key, String val)

public Workflow.Builder addJobCommandConfigMap (String job, Map<StringString> jobConfigMap)

public Workflow.Builder addJobConfig (String job, JobConfig.Builder jobConfigBuilder)

public Workflow.Builder addParentChildDependency (String parent, String child)

public Workflow.Builder addTaskConfigs (String job, Collection<TaskConfig> taskConfigs)

public Workflow build ()

public String namespacify (String job)

public Workflow.Builder setExpiry (long expiry)

public Workflow.Builder setScheduleConfig (ScheduleConfig scheduleConfig)