Class Scripted

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

    public class Scripted
    extends AbstractScriptedTemplate
    Uses a Groovy script to generate a sub-flow.

    Valid options are:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -name <java.lang.String> (property: name)
        The new name for the actor; leave empty to use current.
        default: 
     
    -script <adams.core.io.PlaceholderFile> (property: scriptFile)
        The script file to load and execute.
        default: ${CWD}
     
    -options <java.lang.String> (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:
    Scripted, Serialized Form