Package step.plans.parser.yaml.rules
Class KeywordSelectionRule
java.lang.Object
step.plans.parser.yaml.rules.KeywordSelectionRule
- All Implemented Interfaces:
ArtefactFieldConversionRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverter from yaml artefact field to technical step artefactConverter from step artefact field (java object) to yamlstatic DynamicValue<String>
getFunctionNameDynamicValue
(DynamicValue<String> function, com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper) step.handlers.javahandler.jsonschema.JsonSchemaFieldProcessor
getJsonSchemaFieldProcessor
(jakarta.json.spi.JsonProvider jsonProvider) Prepares the field representation in json schema
-
Field Details
-
jsonObjectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper
-
-
Constructor Details
-
KeywordSelectionRule
public KeywordSelectionRule()
-
-
Method Details
-
getJsonSchemaFieldProcessor
public step.handlers.javahandler.jsonschema.JsonSchemaFieldProcessor getJsonSchemaFieldProcessor(jakarta.json.spi.JsonProvider jsonProvider) Description copied from interface:ArtefactFieldConversionRule
Prepares the field representation in json schema- Specified by:
getJsonSchemaFieldProcessor
in interfaceArtefactFieldConversionRule
-
getArtefactFieldDeserializationProcessor
Description copied from interface:ArtefactFieldConversionRule
Converter from yaml artefact field to technical step artefact- Specified by:
getArtefactFieldDeserializationProcessor
in interfaceArtefactFieldConversionRule
-
getArtefactFieldSerializationProcessor
Description copied from interface:ArtefactFieldConversionRule
Converter from step artefact field (java object) to yaml- Specified by:
getArtefactFieldSerializationProcessor
in interfaceArtefactFieldConversionRule
-
getFunctionNameDynamicValue
public static DynamicValue<String> getFunctionNameDynamicValue(DynamicValue<String> function, com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-