Package net.tnemc.menu.core.constraints
Interface ConstraintHolder
public interface ConstraintHolder
Represents an object that is able to hold
constraints
.- Since:
- 1.0.0.0
- Author:
- creatorfromhell
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> void
addConstraint
(Constraint<T> constraint, T value) default <T> T
getConstraint
(Constraint<T> constraint) default void
removeConstraint
(Constraint<?> constraint)
-
Method Details
-
constraints
-