@FunctionalInterface public interface RequiredPolicy extends GenericSchemaFeature
required. Implementations are expected to be stateless and thread safe.RequiredPolicies| Modifier and Type | Method and Description |
|---|---|
default com.fasterxml.jackson.databind.node.ObjectNode |
getFeatureResult(GenericSchemaFeatureInput input)
Get the add-on result to be merged in with the schema
|
com.fasterxml.jackson.databind.JsonNode |
getRequired(GenericSchemaFeatureInput input)
Get the appropriate
required field for the input. |
com.fasterxml.jackson.databind.JsonNode getRequired(@Nonnull GenericSchemaFeatureInput input)
required field for the input. Note that this method should not
modify the input.default com.fasterxml.jackson.databind.node.ObjectNode getFeatureResult(GenericSchemaFeatureInput input)
GenericSchemaFeaturegetFeatureResult in interface GenericSchemaFeatureCopyright © 2019–2022. All rights reserved.