Package step.plans.parser.yaml.rules
Class CheckExpressionRule
java.lang.Object
step.plans.parser.yaml.rules.CheckExpressionRule
- All Implemented Interfaces:
ArtefactFieldConversionRule
The 'expression' field is 'Check' artefact is dynamic value,
but in yaml we want to define it always as expression string (to avoid nested "expression.expression")
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverter from yaml artefact field to technical step artefactConverter from step artefact field (java object) to yamlstep.handlers.javahandler.jsonschema.JsonSchemaFieldProcessor
getJsonSchemaFieldProcessor
(jakarta.json.spi.JsonProvider jsonProvider) Prepares the field representation in json schema
-
Constructor Details
-
CheckExpressionRule
public CheckExpressionRule()
-
-
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
-