Package adams.flow.processor
Class ChangeJobRunnerUsage
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<ActorProcessor>,SizeOfHandler,ActorProcessor,ModifyingProcessor,Serializable,Comparable<ActorProcessor>
public class ChangeJobRunnerUsage extends AbstractModifyingProcessor
Processor that updatesJobRunnerUserandJobRunnerSupporterobjects.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_PreferJobRunnerthe new state forJobRunnerSupporterobjects.protected booleanm_UpdateJobRunnerSupporterObjectswhether to updateJobRunnerSupporterobjects.protected booleanm_UpdateJobRunnerUserObjectswhether to updateJobRunnerUserobjects.protected booleanm_UseJobRunnerthe new state forJobRunnerUserobjects.-
Fields inherited from class adams.flow.processor.AbstractModifyingProcessor
m_Modified, m_ModifiedActor, m_NoCopy
-
Fields inherited from class adams.flow.processor.AbstractActorProcessor
m_Errors
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description ChangeJobRunnerUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.booleangetPreferJobRunner()Returns the new state forJobRunnerSupporterobjects.booleangetUpdateJobRunnerSupporterObjects()Returns whether updateJobRunnerSupporterobjects.booleangetUpdateJobRunnerUserObjects()Returns whether updateJobRunnerUserobjects.booleangetUseJobRunner()Returns the new state forJobRunnerUserobjects.StringglobalInfo()Returns a string describing the object.StringpreferJobRunnerTipText()Returns the tip text for this property.protected voidprocessActor(Actor actor)Performs the actual processing.voidsetPreferJobRunner(boolean value)Sets the new state forJobRunnerSupporterobjects.voidsetUpdateJobRunnerSupporterObjects(boolean value)Sets whether updateJobRunnerSupporterobjects.voidsetUpdateJobRunnerUserObjects(boolean value)Sets whether updateJobRunnerUserobjects.voidsetUseJobRunner(boolean value)Sets the new state forJobRunnerUserobjects.StringupdateJobRunnerSupporterObjectsTipText()Returns the tip text for this property.StringupdateJobRunnerUserObjectsTipText()Returns the tip text for this property.StringuseJobRunnerTipText()Returns the tip text for this property.-
Methods inherited from class adams.flow.processor.AbstractModifyingProcessor
getModifiedActor, getNoCopy, initialize, isModified, process, setNoCopy
-
Methods inherited from class adams.flow.processor.AbstractActorProcessor
addError, addError, checkData, compareTo, equals, getErrors, hasErrors, reset, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, toCommandLine, toString
-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.flow.processor.ActorProcessor
compareTo, getErrors, hasErrors, shallowCopy, shallowCopy
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Field Detail
-
m_UpdateJobRunnerUserObjects
protected boolean m_UpdateJobRunnerUserObjects
whether to updateJobRunnerUserobjects.
-
m_UseJobRunner
protected boolean m_UseJobRunner
the new state forJobRunnerUserobjects.
-
m_UpdateJobRunnerSupporterObjects
protected boolean m_UpdateJobRunnerSupporterObjects
whether to updateJobRunnerSupporterobjects.
-
m_PreferJobRunner
protected boolean m_PreferJobRunner
the new state forJobRunnerSupporterobjects.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setUpdateJobRunnerUserObjects
public void setUpdateJobRunnerUserObjects(boolean value)
Sets whether updateJobRunnerUserobjects.- Parameters:
value- true if update
-
getUpdateJobRunnerUserObjects
public boolean getUpdateJobRunnerUserObjects()
Returns whether updateJobRunnerUserobjects.- Returns:
- true if to update
-
updateJobRunnerUserObjectsTipText
public String updateJobRunnerUserObjectsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setUseJobRunner
public void setUseJobRunner(boolean value)
Sets the new state forJobRunnerUserobjects.- Parameters:
value- the new state
-
getUseJobRunner
public boolean getUseJobRunner()
Returns the new state forJobRunnerUserobjects.- Returns:
- the new state
-
useJobRunnerTipText
public String useJobRunnerTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setUpdateJobRunnerSupporterObjects
public void setUpdateJobRunnerSupporterObjects(boolean value)
Sets whether updateJobRunnerSupporterobjects.- Parameters:
value- true if update
-
getUpdateJobRunnerSupporterObjects
public boolean getUpdateJobRunnerSupporterObjects()
Returns whether updateJobRunnerSupporterobjects.- Returns:
- true if to update
-
updateJobRunnerSupporterObjectsTipText
public String updateJobRunnerSupporterObjectsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setPreferJobRunner
public void setPreferJobRunner(boolean value)
Sets the new state forJobRunnerSupporterobjects.- Parameters:
value- the new state
-
getPreferJobRunner
public boolean getPreferJobRunner()
Returns the new state forJobRunnerSupporterobjects.- Returns:
- the new state
-
preferJobRunnerTipText
public String preferJobRunnerTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
processActor
protected void processActor(Actor actor)
Performs the actual processing.- Specified by:
processActorin classAbstractActorProcessor- Parameters:
actor- the actor to process (is a copy of original for processors implementing ModifyingProcessor)- See Also:
ModifyingProcessor
-
-