Package adams.core.option
Class DebugNestedProducer
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.option.AbstractOptionProducer<O,I>
-
- adams.core.option.AbstractRecursiveOptionProducer<List,List>
-
- adams.core.option.NestedProducer
-
- adams.core.option.DebugNestedProducer
-
- All Implemented Interfaces:
CleanUpHandler
,EncodingSupporter
,LoggingSupporter
,BlacklistedOptionProducer
,DebugOptionProducer<List,List>
,OptionProducer<List,List>
,RecursiveOptionProducer
,SizeOfHandler
,Serializable
public class DebugNestedProducer extends NestedProducer implements DebugOptionProducer<List,List>
Nested producer that outputs format useful for debugging purposes.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.option.NestedProducer
BACKQUOTE_CHARS, BACKQUOTE_STRINGS, CHARSET, CLASS_PATH, COMMENT, DATE, m_Blacklisted, m_DateFormat, m_Encoding, m_OutputClasspath, m_OutputLineNumbers, m_OutputProlog, MODULES, PROJECT, USER
-
Fields inherited from class adams.core.option.AbstractRecursiveOptionProducer
m_Nesting
-
Fields inherited from class adams.core.option.AbstractOptionProducer
m_Input, m_LastGenerated, m_Output, m_OutputVariableValues, m_SkippedProperties, m_UsePropertyNames
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description DebugNestedProducer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Executes the producer from commandline.List
processOption(ClassOption option)
Visits a class option.-
Methods inherited from class adams.core.option.NestedProducer
doProduce, encodingTipText, getBlacklisted, getDateFormat, getEncoding, getOutputClasspath, getOutputLineNumbers, getOutputProlog, globalInfo, initialize, initOutput, outputClasspathTipText, outputLineNumbersTipText, outputPrologTipText, postProduce, preProduce, processOption, processOption, setBlacklisted, setEncoding, setOutputClasspath, setOutputLineNumbers, setOutputProlog, toString, toString
-
Methods inherited from class adams.core.option.AbstractRecursiveOptionProducer
cleanUp, generateLoggingString, getDebugIndentation, getDebugIndentation, getRecursionLevel, reset
-
Methods inherited from class adams.core.option.AbstractOptionProducer
checkInput, doProduce, getCurrentValue, getInput, getOptionIdentifier, getOutput, getOutputVariableValues, getSkippedProperties, getUsePropertyNames, isDefaultValue, loggingLevelTipText, outputVariableValuesTipText, postProduce, preProduce, produce, produce, runProducer, setLoggingLevel, setOutputVariableValues, setSkippedProperties, toString, write
-
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.core.option.OptionProducer
cleanUp, doProduce, getInput, getLoggingLevel, getOutput, getOutputVariableValues, getSkippedProperties, getUsePropertyNames, globalInfo, loggingLevelTipText, outputVariableValuesTipText, processOption, processOption, produce, setLoggingLevel, setOutputVariableValues, setSkippedProperties, toString, write
-
-
-
-
Method Detail
-
processOption
public List processOption(ClassOption option)
Visits a class option.- Specified by:
processOption
in interfaceOptionProducer<List,List>
- Overrides:
processOption
in classNestedProducer
- Parameters:
option
- the class option- Returns:
- the last internal data structure that was generated
-
main
public static void main(String[] args)
Executes the producer from commandline.- Parameters:
args
- the commandline arguments, use -help for help
-
-