Interface Activatable

All Known Subinterfaces:
ActivatableLifecycleUser<T>
All Known Implementing Classes:
ChannelFilter, ConfigurableTransformation, HandlerTarget, HandlerTargetImpl, LifecycleUserImpl, MultiFilter, NewlineFilter, ParsedReplaceTarget, ParsedReplaceTargetImpl, ReplaceTarget, RunPhase, SearchTerminals, StringFilter, TerminalReplaceTarget, TerminalReplaceTargetImpl, ThrowTarget, ThrowTargetImpl, TokenFilter, Transformation, TransformationPhase, TransformationPhaseBase, WalkPhase, WrapIdentifier, WrapThrowTarget, WrapThrowTargetImpl

public interface Activatable
Models things on which an activation supplier can be set.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the activation supplier.
    boolean
    Gets the current activation state.
  • Method Details

    • isActive

      boolean isActive()
      Gets the current activation state.
      Returns:
      true if the object is active
    • activation

      Activatable activation(Supplier<Boolean> activation)
      Sets the activation supplier.
      Parameters:
      activation - The activation supplier
      Returns:
      This object