| Modifier and Type | Class and Description |
|---|---|
| public class | StandardConstructor.
Construct scalar for format ${VARIABLE} replacing the template with the value from environment. |
| public class | StandardConstructor.
Create Map instance |
| public class | StandardConstructor.
Create the List implementation (configured in setting) |
| public class | StandardConstructor.
Create Set instances |
| public class | StandardConstructor.
Create String instances |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Object | |
| protected void | constructMapping2ndStep(MappingNode node, Map<Object, Object> mapping)
Overrides org. Fill the mapping with the data from provided node |
| protected void | constructSet2ndStep(MappingNode node, Set<Object> set)
Overrides org. Fill the Map with the data from the node |
| protected void | |
| protected void | processDuplicateKeys(MappingNode
- the source node)detect and process the duplicate key in mapping according to the configured setting |
| StandardConstructor | back to summary |
|---|---|
| public StandardConstructor(LoadSettings settings) Create
| |
| constructKey | back to summary |
|---|---|
| private Object constructKey(Node keyNode, Optional<Mark> contextMark, Optional<Mark> problemMark) | |
| constructMapping2ndStep | back to summary |
|---|---|
| protected void constructMapping2ndStep(MappingNode node, Map<Object, Object> mapping) Overrides org. Doc from org. Fill the mapping with the data from provided node
| |
| constructSet2ndStep | back to summary |
|---|---|
| protected void constructSet2ndStep(MappingNode node, Set<Object> set) Overrides org. Doc from org. Fill the Map with the data from the node
| |
| flattenMapping | back to summary |
|---|---|
| protected void flattenMapping(MappingNode node) | |
| processDuplicateKeys | back to summary |
|---|---|
| protected void processDuplicateKeys(MappingNode node) detect and process the duplicate key in mapping according to the configured setting
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the value to apply in the template- variable name in the template name, String - separator in the template, can be :-, -, :?, ? separator, String - default value or the error in the template value, String - the value from environment for the provided variable environment)Implement the logic for missing and unset variables |
| public Object | construct(Node node)
Implements org. Construct a Java instance with all the properties injected when it is possible. |
| public String |
| ConstructEnv | back to summary |
|---|---|
| public ConstructEnv() | |
| apply | back to summary |
|---|---|
| public String apply(String name, String separator, String value, String environment) Implement the logic for missing and unset variables | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible. | |
| getEnv | back to summary |
|---|---|
| public String getEnv(String key) Get value of the environment variable
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node node)
Implements org. Construct a Java instance with all the properties injected when it is possible. |
| public void | constructRecursive(Node node, Object object)
Overrides default org. Apply the second step when constructing recursive structures. |
| ConstructYamlMap | back to summary |
|---|---|
| public ConstructYamlMap() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible.
| |
| constructRecursive | back to summary |
|---|---|
| public void constructRecursive(Node node, Object object) Overrides default org. Doc from org. Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself. (no need to implement this method for non-recursive data structures). Fail with a reminder to provide the second step for a recursive structure
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node node)
Implements org. Construct a Java instance with all the properties injected when it is possible. |
| public void | constructRecursive(Node node, Object data)
Overrides default org. Apply the second step when constructing recursive structures. |
| ConstructYamlSeq | back to summary |
|---|---|
| public ConstructYamlSeq() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible.
| |
| constructRecursive | back to summary |
|---|---|
| public void constructRecursive(Node node, Object data) Overrides default org. Doc from org. Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself. (no need to implement this method for non-recursive data structures). Fail with a reminder to provide the second step for a recursive structure
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node node)
Implements org. Construct a Java instance with all the properties injected when it is possible. |
| public void | constructRecursive(Node node, Object object)
Overrides default org. Apply the second step when constructing recursive structures. |
| ConstructYamlSet | back to summary |
|---|---|
| public ConstructYamlSet() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible.
| |
| constructRecursive | back to summary |
|---|---|
| public void constructRecursive(Node node, Object object) Overrides default org. Doc from org. Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself. (no need to implement this method for non-recursive data structures). Fail with a reminder to provide the second step for a recursive structure
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node node)
Implements org. Construct a Java instance with all the properties injected when it is possible. |
| ConstructYamlStr | back to summary |
|---|---|
| public ConstructYamlStr() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible.
| |