Package com.ibm.di.config.base
Class SchedulerConfigImpl
- java.lang.Object
-
- com.ibm.di.config.base.BaseConfigurationImpl
-
- com.ibm.di.config.base.SchedulerConfigImpl
-
- All Implemented Interfaces:
BaseConfiguration
,MetamergeConfigChangeListener
,SchedulerConfig
,java.io.Serializable
public class SchedulerConfigImpl extends BaseConfigurationImpl implements SchedulerConfig
Implements a SchedulerConfig.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
-
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
-
Fields inherited from interface com.ibm.di.config.interfaces.SchedulerConfig
KEEP_ALIVE, TIMER
-
-
Constructor Summary
Constructors Constructor Description SchedulerConfigImpl()
SchedulerConfigImpl(java.lang.Object o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getClone()
Return self cloneboolean
getEnabled()
change default for enabled to be true.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 class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getLongName, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, 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, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, 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
-
-
-
-
Method Detail
-
getScheduledName
public java.lang.String getScheduledName()
- Specified by:
getScheduledName
in interfaceSchedulerConfig
- Returns:
- The name of the AssemblyLine/Sequence that will be scheduled.
-
getStartTimes
public java.lang.String getStartTimes()
Description copied from interface:SchedulerConfig
Returns a crontab style string specifying start times.- Specified by:
getStartTimes
in interfaceSchedulerConfig
-
getType
public int getType()
- Specified by:
getType
in interfaceSchedulerConfig
- Returns:
- the type of this scheduler, one of TIMER, KEEP_ALIVE.
-
setScheduledName
public void setScheduledName(java.lang.String name)
Description copied from interface:SchedulerConfig
Sets name of the AssemblyLine/Sequence that will be scheduled.- Specified by:
setScheduledName
in interfaceSchedulerConfig
- Parameters:
name
- The name.
-
setStartTimes
public void setStartTimes(java.lang.String times)
Description copied from interface:SchedulerConfig
Sets the start times.- Specified by:
setStartTimes
in interfaceSchedulerConfig
- Parameters:
times
- The start times.
-
setType
public void setType(int type)
Description copied from interface:SchedulerConfig
Sets the type of this scheduler.- Specified by:
setType
in interfaceSchedulerConfig
- Parameters:
type
- The type to set, one of TIMER, KEEP_ALIVE.
-
getClone
public java.lang.Object getClone() throws java.lang.Exception
Return self clone- Specified by:
getClone
in interfaceBaseConfiguration
- Overrides:
getClone
in classBaseConfigurationImpl
- Returns:
- a cloned version of this object.
- Throws:
java.lang.Exception
-
getEnabled
public boolean getEnabled()
change default for enabled to be true.- Specified by:
getEnabled
in interfaceBaseConfiguration
- Overrides:
getEnabled
in classBaseConfigurationImpl
- Returns:
- The nullBehaviorValue value.
-
-