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 TypeMethodDescriptionactivation(Supplier<Boolean> activation)Sets the activation supplier.booleanisActive()Gets the current activation state.
-
Method Details
-
isActive
boolean isActive()Gets the current activation state.- Returns:
trueif the object is active
-
activation
Sets the activation supplier.- Parameters:
activation- The activation supplier- Returns:
- This object
-