Contents
Class BooleanImplicationValidator
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.validators.Validator
com.hypixel.hytale.server.npc.asset.builder.validators.BooleanImplicationValidator
Validates that if defined members of the antecedent set are set to the antecedent state, then all members of the consequent set
must be set to the consequent state.
Created on 14/11/2018
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(boolean[] antecedents, boolean[] consequents) static BooleanImplicationValidatorwithAttributes(String[] antecedentSet, boolean antecedentState, String[] consequentSet, boolean consequentState, boolean anyAntecedent)
-
Method Details
-
test
public boolean test(@Nonnull boolean[] antecedents, @Nonnull boolean[] consequents) -
errorMessage
-
withAttributes
@Nonnull public static BooleanImplicationValidator withAttributes(String[] antecedentSet, boolean antecedentState, String[] consequentSet, boolean consequentState, boolean anyAntecedent)
-