com.ibm.di.config.base
Class SchedulerConfigImpl

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by 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.SchedulerConfig
KEEP_ALIVE, TIMER
 
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
 
Constructor Summary
SchedulerConfigImpl()
           
SchedulerConfigImpl(java.lang.Object o)
           
 
Method Summary
 java.lang.Object getClone()
          Return self clone
 boolean 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
 

Constructor Detail

SchedulerConfigImpl

public SchedulerConfigImpl()

SchedulerConfigImpl

public SchedulerConfigImpl(java.lang.Object o)
Method Detail

getScheduledName

public java.lang.String getScheduledName()
Specified by:
getScheduledName in interface SchedulerConfig
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 interface SchedulerConfig

getType

public int getType()
Specified by:
getType in interface SchedulerConfig
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 interface SchedulerConfig
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 interface SchedulerConfig
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 interface SchedulerConfig
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 interface BaseConfiguration
Overrides:
getClone in class BaseConfigurationImpl
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 interface BaseConfiguration
Overrides:
getEnabled in class BaseConfigurationImpl
Returns:
The nullBehaviorValue value.