Package org.everit.json.schema
Class CombinedSchema.Builder
- java.lang.Object
-
- org.everit.json.schema.Schema.Builder<CombinedSchema>
-
- org.everit.json.schema.CombinedSchema.Builder
-
- Enclosing class:
- CombinedSchema
public static class CombinedSchema.Builder extends Schema.Builder<CombinedSchema>
Builder class forCombinedSchema
.
-
-
Field Summary
-
Fields inherited from class org.everit.json.schema.Schema.Builder
unprocessedProperties
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description CombinedSchema
build()
CombinedSchema.Builder
criterion(CombinedSchema.ValidationCriterion criterion)
CombinedSchema.Builder
isSynthetic(boolean synthetic)
CombinedSchema.Builder
subschema(Schema subschema)
CombinedSchema.Builder
subschemas(Collection<Schema> subschemas)
-
Methods inherited from class org.everit.json.schema.Schema.Builder
defaultValue, description, id, nullable, readOnly, schemaLocation, schemaLocation, title, unprocessedProperties, writeOnly
-
-
-
-
Method Detail
-
build
public CombinedSchema build()
- Specified by:
build
in classSchema.Builder<CombinedSchema>
-
criterion
public CombinedSchema.Builder criterion(CombinedSchema.ValidationCriterion criterion)
-
subschema
public CombinedSchema.Builder subschema(Schema subschema)
-
subschemas
public CombinedSchema.Builder subschemas(Collection<Schema> subschemas)
-
isSynthetic
public CombinedSchema.Builder isSynthetic(boolean synthetic)
-
-