- private Map<String, String> matchableValues;
- private static final String PROPERTIES=".properties.";
- public static final String DATATYPE = "data_types.policy.data.";
- public static final String TYPE=".type";
- public static final String REQUIRED=".required";
- private static final String MATCHABLE=".matchable";
- private static final String STRING="string";
- private static final String INTEGER="integer";
- private static final String LIST="list";
- public static final String MAP="map";
- private static final String DEFAULT=".default";
- private static final String MANYFALSE=":MANY-false";
- private static final String MANYTRUE=":MANY-true";
- private static final String DEFAULTVALUE=":defaultValue-";
- private static final String REQUIREDVALUE=":required-";
- private static final String MATCHABLEKEY="matchable";
- private static final String REQUIREDFALSE=":required-false";
- private static final String REQUIREDTRUE=":required-true";
- private static final String MATCHINGTRUE="matching-true";
-
- private StringBuilder dataListBuffer=new StringBuilder();
- private List<String> dataConstraints= new ArrayList <>();
+ private Map<String, String> matchableValues;
+ private static final String PROPERTIES = ".properties.";
+ private static final String DATATYPE = "data_types.policy.data.";
+ private static final String TYPE = ".type";
+ private static final String REQUIRED = ".required";
+ private static final String MATCHABLE = ".matchable";
+ private static final String STRING = "string";
+ private static final String INTEGER = "integer";
+ private static final String BOOLEAN = "boolean";
+ private static final String LIST = "list";
+ private static final String MAP = "map";
+ private static final String DEFAULT = ".default";
+ private static final String MANYFALSE = ":MANY-false";
+ private static final String DESCRIPTION = ".description";
+
+ private static final String MANYTRUE = ":MANY-true";
+ private static final String DEFAULTVALUE = ":defaultValue-";
+ private static final String REQUIREDVALUE = ":required-";
+ private static final String MATCHABLEKEY = "matchable";
+ private static final String REQUIREDFALSE = ":required-false";
+ private static final String REQUIREDTRUE = ":required-true";
+ private static final String MATCHINGTRUE = "matching-true";
+ private static final String DESCRIPTION_KEY = "description";
+ private static final String DESCRIPTION_TOKEN =":description-";
+ private static final String PROPERTIES_KEY = "properties";
+ private static final String DATA_TYPE = "data_types";
+ private static final String ERROR = "error";
+ private static final String NODE_TYPE = "node_types";
+ private static final String TOSCA_DEFINITION_VERSION = "tosca_definitions_version";
+ private StringBuilder dataListBuffer = new StringBuilder();
+ private List<String> dataConstraints = new ArrayList<>();