Interface ValidationStep
-
- All Known Implementing Classes:
AllOfStep,AnyOfStep,BooleanStep,CompositeStep,ConstStep,ContainsStep,DateTimeStep,DependenciesStep,DependencyStep,DependentSchemasStep,DependentSchemaStep,DynamicRefStep,EmailStep,EnumStep,ExclusiveMaximumStep,ExclusiveMinimumStep,HostnameStep,IdStep,IfStep,IpV4Step,IpV6Step,ItemsSizeStep,ItemsStep,MaxContainsStep,Maximum4Step,MaximumStep,MaxItemsStep,MaxLengthStep,MaxPropertiesStep,MinContainsStep,Minimum4Step,MinimumStep,MinItemsStep,MinLengthStep,MinPropertiesStep,MultipleOfStep,NotStep,OneOfStep,PatternStep,PropertiesStep,PropertyInvalidStep,PropertyNamesStep,PropertyStep,RefStep,RegexStep,RequiredStep,RequireStep,SchemaStep,SimpleStep,TypeStep,UniqueItemsStep,UriStep,UuidStep
public interface ValidationStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidadd(ValidationStep step)java.net.URIgetAbsoluteKeywordLocation()@Nullable AnnotationgetAnnotation()java.util.Collection<Annotation>getAnnotations(java.lang.String keyword)JsonPointergetInstanceLocation()JsonPointergetKeywordLocation()@Nullable ValidationMessagegetMessage()java.util.Collection<ValidationStep>getSteps()booleanisValid()default booleanisValidatable()If true this step is used to calculate the final validation result.
-
-
-
Method Detail
-
isValid
boolean isValid()
-
getSteps
java.util.Collection<ValidationStep> getSteps()
-
add
void add(ValidationStep step)
-
getMessage
@Nullable ValidationMessage getMessage()
-
getAnnotation
@Nullable Annotation getAnnotation()
-
getAnnotations
java.util.Collection<Annotation> getAnnotations(java.lang.String keyword)
-
getKeywordLocation
JsonPointer getKeywordLocation()
-
getAbsoluteKeywordLocation
java.net.URI getAbsoluteKeywordLocation()
-
getInstanceLocation
JsonPointer getInstanceLocation()
-
isValidatable
default boolean isValidatable()
If true this step is used to calculate the final validation result. 'if' is the only keyword that is not validatable.
-
-