Class Template

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Generator, Serializable

    public class Template
    extends AbstractFlowGenerator
    Uses the specified flow template to generate the sub-flow.

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to 
        the console (0 = off).
        default: 0
        minimum: 0
     
    -template <adams.flow.template.AbstractActorTemplate> (property: template)
        The template to use for generating the actual actor.
        default: adams.flow.template.DummyStandalone
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • getDefaultTemplate

        protected AbstractActorTemplate getDefaultTemplate()
        Returns the default template to use.
        Returns:
        the template
      • setTemplate

        public void setTemplate​(AbstractActorTemplate value)
        Sets the name of the global actor to use.
        Parameters:
        value - the global name
      • getTemplate

        public AbstractActorTemplate getTemplate()
        Returns the name of the global actor in use.
        Returns:
        the global name
      • templateTipText

        public String templateTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.