Class ConditionalSource

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, TestConditionSupporter, Actor, ActorHandler, ErrorHandler, Flushable, OutputProducer, Serializable, Comparable

    public class ConditionalSource
    extends AbstractConditionalActor
    implements OutputProducer
    Source that needs to fullfil a condition before being executed.

    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
     
    -name <java.lang.String> (property: name)
        The name of the actor.
        default: ConditionalSource
     
    -annotation <adams.core.base.BaseText> (property: annotations)
        The annotations to attach to this actor.
        default:
     
    -skip (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded
        as it is.
     
    -stop-flow-on-error (property: stopFlowOnError)
        If set to true, the flow gets stopped in case this actor encounters an error;
         useful for critical actors.
     
    -condition <adams.flow.condition.AbstractCondition [options]> (property: condition)
        The condition that has to be met before the actor can be executed.
        default: adams.flow.condition.True
     
    -execution-time (property: checkAtExecutionTime)
        If set to true, then the condition is checked at execution time (whenever
        the actor gets executed) and not during setup.
     
    -execute-on-fail (property: executeOnFail)
        If set to true, then the actor is only executed if the condition fails.
     
    -actor <adams.flow.core.AbstractActor [options]> (property: actor)
        The base source to use.
        default: adams.flow.source.StringConstants
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • ConditionalSource

        public ConditionalSource()