Class ItemsStep
- java.lang.Object
-
- io.openapiprocessor.jsonschema.validator.array.ItemsStep
-
- All Implemented Interfaces:
ValidationStep
public class ItemsStep extends java.lang.Object implements ValidationStep
-
-
Constructor Summary
Constructors Constructor Description ItemsStep(JsonSchema schema, JsonInstance instance, java.lang.String propertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ValidationStep step)voidaddAnnotation(java.lang.Object value)java.net.URIgetAbsoluteKeywordLocation()@Nullable AnnotationgetAnnotation()java.util.Collection<Annotation>getAnnotations(java.lang.String keyword)JsonPointergetInstanceLocation()JsonPointergetKeywordLocation()@Nullable ValidationMessagegetMessage()java.util.Collection<ValidationStep>getSteps()booleanisEmpty()booleanisNotEmpty()booleanisValid()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.openapiprocessor.jsonschema.validator.steps.ValidationStep
isValidatable
-
-
-
-
Constructor Detail
-
ItemsStep
public ItemsStep(JsonSchema schema, JsonInstance instance, java.lang.String propertyName)
-
-
Method Detail
-
isNotEmpty
public boolean isNotEmpty()
-
isEmpty
public boolean isEmpty()
-
add
public void add(ValidationStep step)
- Specified by:
addin interfaceValidationStep
-
getSteps
public java.util.Collection<ValidationStep> getSteps()
- Specified by:
getStepsin interfaceValidationStep
-
getMessage
public @Nullable ValidationMessage getMessage()
- Specified by:
getMessagein interfaceValidationStep
-
getAnnotation
public @Nullable Annotation getAnnotation()
- Specified by:
getAnnotationin interfaceValidationStep
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceValidationStep
-
getAnnotations
public java.util.Collection<Annotation> getAnnotations(java.lang.String keyword)
- Specified by:
getAnnotationsin interfaceValidationStep
-
addAnnotation
public void addAnnotation(java.lang.Object value)
-
getKeywordLocation
public JsonPointer getKeywordLocation()
- Specified by:
getKeywordLocationin interfaceValidationStep
-
getInstanceLocation
public JsonPointer getInstanceLocation()
- Specified by:
getInstanceLocationin interfaceValidationStep
-
getAbsoluteKeywordLocation
public java.net.URI getAbsoluteKeywordLocation()
- Specified by:
getAbsoluteKeywordLocationin interfaceValidationStep
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-