Class JsonSpecification
java.lang.Object
com.xebialabs.xlplatform.synthetic.yaml.JsonSpecification
- Direct Known Subclasses:
JsonInputHintSpecification,JsonMethodSpecification,JsonPropertySpecification,JsonTypeSpecification,JsonValidationRuleSpecification
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonSpecification(String name, com.fasterxml.jackson.databind.JsonNode node) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()getOptionalBoolean(String property) getOptionalBoolean(String property, boolean defaultValue) getOptionalInteger(String property, Integer defaultValue) getOptionalString(String property) getOptionalString(String property, String defaultValue) getOptionalType(String property) protected List<JsonPropertySpecification>getProperties(String propertiesLabel) getStringValues(String property)
-
Field Details
-
name
-
node
protected final com.fasterxml.jackson.databind.JsonNode node
-
-
Constructor Details
-
JsonSpecification
-
-
Method Details
-
getLabel
-
getDescription
-
getValidationRules
-
getOptionalString
-
getOptionalString
-
getOptionalInteger
-
getOptionalBoolean
-
getOptionalBoolean
-
getOptionalType
-
getStringValues
-
toMap
-
getProperties
-