Package io.jmix.masquerade.condition
Class SpecificConditionSupport
java.lang.Object
io.jmix.masquerade.condition.SpecificConditionSupport
Utility class for checking
Specific Conditions.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidacceptFor(SpecificConditionHandler handler, Runnable checkConditionCallback) Accepts the passed condition callback for the passedSpecificConditionHandler.static SpecificConditionHandler
-
Field Details
-
holder
-
-
Constructor Details
-
SpecificConditionSupport
public SpecificConditionSupport()
-
-
Method Details
-
acceptFor
Accepts the passed condition callback for the passedSpecificConditionHandler.- Parameters:
handler- handlercheckConditionCallback- callback for checking condition
-
getHandler
- Returns:
- returns the current
SpecificConditionHandlerfor which the condition checks
-