Package org.patternfly.core
Class Validation
java.lang.Object
org.patternfly.core.Validation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Enum<E>>
booleanverifyEnum
(Element element, String property, E value, E firstAllowedValue, E... otherAllowedValues) static boolean
verifyRange
(Element element, String property, int value, int min, int max)
-
Constructor Details
-
Validation
public Validation()
-
-
Method Details
-
verifyRange
-
verifyEnum
@SafeVarargs public static <E extends Enum<E>> boolean verifyEnum(Element element, String property, E value, E firstAllowedValue, E... otherAllowedValues)
-