Class InactiveSource

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, Pausable, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, FlowPauseStateListener, VariableChangeListener, AtomicExecution, Actor, ActorHandler, ControlActor, ErrorHandler, Flushable, InactiveActor, MutableActorHandler, OutputProducer, SubFlowWrapUp, Serializable, Comparable

    public class InactiveSource
    extends SequenceSource
    implements InactiveActor
    Encapsulates a sequence of flow items, with the last one generating the output for this meta-source.
    Can be removed with the adams.flow.processor.ReactivateActors processor.

    - generates:

    -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 name of the actor.
        default: InactiveSource
    -annotation <adams.core.base.BaseAnnotation> (property: annotations)
        The annotations to attach to this actor.
    -skip <boolean> (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded
        as it is.
        default: false
    -stop-flow-on-error <boolean> (property: stopFlowOnError)
        If set to true, the flow execution at this level gets stopped in case this
        actor encounters an error; the error gets propagated; useful for critical
        default: false
    -silent <boolean> (property: silent)
        If enabled, then no errors are output in the console; Note: the enclosing
        actor handler must have this enabled as well.
        default: false
    -finish-before-stopping <boolean> (property: finishBeforeStopping)
        If enabled, actor first finishes processing all data before stopping.
        default: false
    -stopping-timeout <int> (property: stoppingTimeout)
        The timeout in milliseconds when waiting for actors to finish (<= 0 for
        infinity; see 'finishBeforeStopping').
        default: -1
        minimum: -1
    -actor <adams.flow.core.Actor> [-actor ...] (property: actors)
        All the actors that define this sequence.
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • InactiveSource

        public InactiveSource()
        Default constructor.
      • InactiveSource

        public InactiveSource​(Actor actor)
        Encapsulates the specified actor. Automatically uses its name with the InactiveActor.PREFIX_INACTIVE prefix.
        actor - the actor to encapsulate
      • InactiveSource

        public InactiveSource​(Actor[] actors)
        Encapsulates the specified actors.
        actors - the actors to encapsulate