Package com.xebisco.yield
Interface ComponentModifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that represents a modifier for a component's behavior.
This interface is used to modify the behavior of a component before its creation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidmodify(ComponentBehavior component) Modifies the behavior of a component.
-
Method Details
-
modify
Modifies the behavior of a component.- Parameters:
component- The component to be modified.- Throws:
OnlyModifiableBeforeCreationException- If the component is already created and cannot be modified.
-