Class AbstractOutputDirGenerator
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.djl.outputdirgenerator.AbstractOutputDirGenerator
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.QuickInfoSupporter,adams.core.SizeOfHandler,OutputDirGenerator,adams.flow.core.FlowContextHandler,Serializable
- Direct Known Subclasses:
FixedDir,StringExpressionDir,VariableDir
public abstract class AbstractOutputDirGenerator extends adams.core.option.AbstractOptionHandler implements OutputDirGenerator, adams.core.QuickInfoSupporter
Ancestor for output dir generators.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected adams.flow.core.Actorm_FlowContextthe flow context.
-
Constructor Summary
Constructors Constructor Description AbstractOutputDirGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description adams.flow.core.ActorgetFlowContext()Returns the flow context.StringgetQuickInfo()Returns a quick info about the object, which can be displayed in the GUI.protected booleanrequiresFlowContext()Returns whether flow context is required.voidsetFlowContext(adams.flow.core.Actor value)Sets the flow context.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.data.djl.outputdirgenerator.OutputDirGenerator
generate
-
-
-
-
Method Detail
-
setFlowContext
public void setFlowContext(adams.flow.core.Actor value)
Sets the flow context.- Specified by:
setFlowContextin interfaceadams.flow.core.FlowContextHandler- Parameters:
value- the context
-
getFlowContext
public adams.flow.core.Actor getFlowContext()
Returns the flow context.- Specified by:
getFlowContextin interfaceadams.flow.core.FlowContextHandler- Returns:
- the context, null if not available
-
requiresFlowContext
protected boolean requiresFlowContext()
Returns whether flow context is required.
Default implementation returns false.- Returns:
- true if required
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.
Default implementation returns null.- Specified by:
getQuickInfoin interfaceadams.core.QuickInfoSupporter- Returns:
- null if no info available, otherwise short string
-
-