Class Scripted

  • All Implemented Interfaces:
    CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, FileBasedScripting, FileBasedScriptingWithOptions, ShallowCopySupporter<AbstractImageFeatureGenerator>, SizeOfHandler, Serializable, Comparable

    public class Scripted
    extends AbstractScriptedFeatureGenerator
    A feature generator that uses any scripting handler for processing the data with a script located in the specified file.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -converter <adams.data.featureconverter.AbstractFeatureConverter> (property: converter)
        The feature converter to use to produce the output data.
        default: adams.data.featureconverter.SpreadSheetFeatureConverter -data-row-type adams.data.spreadsheet.DenseDataRow -spreadsheet-type adams.data.spreadsheet.SpreadSheet
     
    -field <adams.data.report.Field> [-field ...] (property: fields)
        The fields to add to the output.
        default: 
     
    -notes <adams.core.base.BaseString> [-notes ...] (property: notes)
        The notes to add as attributes to the generated data, eg 'PROCESS INFORMATION'
        .
        default: 
     
    -script <adams.core.io.PlaceholderFile> (property: scriptFile)
        The script file to load and execute.
        default: ${CWD}
     
    -options <adams.core.base.BaseText> (property: scriptOptions)
        The options for the script; must consist of 'key=value' pairs separated 
        by blanks; the value of 'key' can be accessed via the 'getAdditionalOptions
        ().getXYZ("key")' method in the script actor.
        default: 
     
    -handler <adams.core.scripting.AbstractScriptingHandler> (property: handler)
        The handler to use for scripting.
        default: adams.core.scripting.Dummy
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form