Package yapion.hierarchy.validators
Class ValidatorVariable
- java.lang.Object
-
- yapion.hierarchy.validators.ValidatorVariable
-
@Deprecated public class ValidatorVariable extends java.lang.ObjectDeprecated.
-
-
Constructor Summary
Constructors Constructor Description ValidatorVariable(java.lang.String... path)Deprecated.Create anValidatorVariableused by theValidator.ValidatorVariable(Validation validation, java.lang.String... path)Deprecated.Create anValidatorVariableused by theValidator.
-
Method Summary
Modifier and Type Method Description ValidatorVariablesetType(ValidatorType type)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
ValidatorVariable
public ValidatorVariable(Validation validation, java.lang.String... path)
Deprecated.Create anValidatorVariableused by theValidator. This constructor is used when you want to set theValidatorTypeof thisValidatorVariabletoValidatorType.VALUE. If the type isValidatorType.VALUEthan theValidationwill be executed.- Parameters:
validation- a implementation specificValidationpath- the path to go along to find theYAPIONAnyTypethat should be validated
-
ValidatorVariable
public ValidatorVariable(java.lang.String... path)
Deprecated.Create anValidatorVariableused by theValidator. This constructor is used when you want to just check the type of theYAPIONAnyTypedenoted by the path.- Parameters:
path- the path to go along to find theYAPIONAnyTypethat should be validated
-
-
Method Detail
-
setType
public ValidatorVariable setType(ValidatorType type)
Deprecated.- Parameters:
type- set theValidatorTypefor thisValidatorVariable
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-