public class

WorkflowConfig

extends Object
java.lang.Object
   ↳ org.apache.helix.task.WorkflowConfig
Known Direct Subclasses

Class Overview

Provides a typed interface to workflow level configurations. Validates the configurations.

Summary

Nested Classes
class WorkflowConfig.Builder  
Constants
String DAG
long DEFAULT_EXPIRY
String EXPIRY
String RECURRENCE_INTERVAL
String RECURRENCE_UNIT
String START_TIME
String TARGET_STATE
String TERMINABLE
Fields
public static final SimpleDateFormat DEFAULT_DATE_FORMAT
Protected Constructors
WorkflowConfig(JobDag jobDag, TargetState targetState, long expiry, boolean terminable, ScheduleConfig scheduleConfig)
Public Methods
long getExpiry()
JobDag getJobDag()
Map<StringString> getResourceConfigMap()
ScheduleConfig getScheduleConfig()
TargetState getTargetState()
boolean isTerminable()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DAG

Constant Value: "Dag"

public static final long DEFAULT_EXPIRY

Constant Value: 86400000 (0x0000000005265c00)

public static final String EXPIRY

Constant Value: "Expiry"

public static final String RECURRENCE_INTERVAL

Constant Value: "RecurrenceInterval"

public static final String RECURRENCE_UNIT

Constant Value: "RecurrenceUnit"

public static final String START_TIME

Constant Value: "StartTime"

public static final String TARGET_STATE

Constant Value: "TargetState"

public static final String TERMINABLE

Constant Value: "Terminable"

Fields

public static final SimpleDateFormat DEFAULT_DATE_FORMAT

Protected Constructors

protected WorkflowConfig (JobDag jobDag, TargetState targetState, long expiry, boolean terminable, ScheduleConfig scheduleConfig)

Public Methods

public long getExpiry ()

public JobDag getJobDag ()

public Map<StringString> getResourceConfigMap ()

Throws
Exception

public ScheduleConfig getScheduleConfig ()

public TargetState getTargetState ()

public boolean isTerminable ()