public class ConstraintUtils extends Object
Constructor and Description |
---|
ConstraintUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,AbstractConstraint> |
getContraintsFromJSONParameter(Map<String,Object> properties)
Build a constraint bean map from JSON constraints part parsing in JSON
parameter.
|
static Map<String,AbstractConstraint> |
getContraintsToPopulatParameters(Map<String,Object> properties)
Build a constraint bean map from JSON constraints part parsing in entry
file.
|
public static Map<String,AbstractConstraint> getContraintsToPopulatParameters(Map<String,Object> properties)
properties
- the constraints list String structurepublic static Map<String,AbstractConstraint> getContraintsFromJSONParameter(Map<String,Object> properties) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
properties
- the constraints list JSON structureIOException
- convert map errorcom.fasterxml.jackson.databind.JsonMappingException
- convert map errorcom.fasterxml.jackson.core.JsonParseException
- convert map errorCopyright © 2016–2017. All rights reserved.