Package com.ibm.di.config.interfaces
Interface SchedulerConfig
-
- All Superinterfaces:
BaseConfiguration
,java.io.Serializable
- All Known Implementing Classes:
SchedulerConfigImpl
public interface SchedulerConfig extends BaseConfiguration
Configuration for a scheduler that will run an AssemblyLine/Sequence.
-
-
Field Summary
Fields Modifier and Type Field Description static int
KEEP_ALIVE
static int
TIMER
The type could be one of the following values.
SCHEDULER - Runs at scheduled times
KEEP_ALIVE - Keeps the AL/Sequence alive-
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getScheduledName()
java.lang.String
getStartTimes()
Returns a crontab style string specifying start times.int
getType()
void
setScheduledName(java.lang.String name)
Sets name of the AssemblyLine/Sequence that will be scheduled.void
setStartTimes(java.lang.String times)
Sets the start times.void
setType(int type)
Sets the type of this scheduler.-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Field Detail
-
TIMER
static final int TIMER
The type could be one of the following values.
SCHEDULER - Runs at scheduled times
KEEP_ALIVE - Keeps the AL/Sequence alive- See Also:
- Constant Field Values
-
KEEP_ALIVE
static final int KEEP_ALIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType()
- Returns:
- the type of this scheduler, one of TIMER, KEEP_ALIVE.
-
setType
void setType(int type)
Sets the type of this scheduler.- Parameters:
type
- The type to set, one of TIMER, KEEP_ALIVE.
-
getScheduledName
java.lang.String getScheduledName()
- Returns:
- The name of the AssemblyLine/Sequence that will be scheduled.
-
setScheduledName
void setScheduledName(java.lang.String name)
Sets name of the AssemblyLine/Sequence that will be scheduled.- Parameters:
name
- The name.
-
getStartTimes
java.lang.String getStartTimes()
Returns a crontab style string specifying start times.
-
setStartTimes
void setStartTimes(java.lang.String times)
Sets the start times.- Parameters:
times
- The start times.
-
-