Class SetProperty

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

    public class SetProperty
    extends AbstractCallableActorPropertyUpdater
    implements VariableChangeListener
    Sets the property of a callable actor whenever the specified variable gets changed.
    Note: this actor just sets the value, but performs no re-initialization or similar of the modified object.

    -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: SetProperty
    -annotation <adams.core.base.BaseText> (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 gets stopped in case this actor encounters an error;
         useful for critical actors.
        default: false
    -actor-name <adams.flow.core.CallableActorReference> (property: actorName)
        The name of the callable actor to update the property for.
        default: unknown
    -property <java.lang.String> (property: property)
        The property to update whenever the variable changes.
    -var-name <adams.core.VariableName> (property: variableName)
        The name of the variable to obtain the current value from.
        default: variable
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form