Package nl.basjes.modbus.schema
Class YamlLoaderKt
-
- All Implemented Interfaces:
public final class YamlLoaderKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static YamlConfigurationyamlConfigurationprivate final static Yamlyaml
-
Method Summary
Modifier and Type Method Description final YamlConfigurationgetYamlConfiguration()final YamlgetYaml()final static SchemaDevicetoSchemaDevice(String $self)final static SchemaDevicetoSchemaDevice(File $self)final static SchemaDevicetoSchemaDevice(InputStream $self)final static SchemaFieldtoSchema(Field $self)final static SchemaBlocktoSchema(Block $self)final static SchemaTesttoSchema(TestScenario $self)final static SchemaTestRawValuestoSchema(ModbusBlock<?, ?, ?> $self)final static SchemaTestBlocktoSchema(ExpectedBlock $self)final static SchematoSchema(SchemaDevice $self)final static StringtoYaml(SchemaDevice $self)final static StringreformatModbusSchemaYaml(String $self)Reformat the ModbusSchema yaml to look better and align the various parts to be better readable -
-
Method Detail
-
getYamlConfiguration
final YamlConfiguration getYamlConfiguration()
-
getYaml
final Yaml getYaml()
-
toSchemaDevice
final static SchemaDevice toSchemaDevice(String $self)
-
toSchemaDevice
final static SchemaDevice toSchemaDevice(File $self)
-
toSchemaDevice
final static SchemaDevice toSchemaDevice(InputStream $self)
-
toSchema
final static SchemaField toSchema(Field $self)
-
toSchema
final static SchemaBlock toSchema(Block $self)
-
toSchema
final static SchemaTest toSchema(TestScenario $self)
-
toSchema
final static SchemaTestRawValues toSchema(ModbusBlock<?, ?, ?> $self)
-
toSchema
final static SchemaTestBlock toSchema(ExpectedBlock $self)
-
toSchema
final static Schema toSchema(SchemaDevice $self)
-
toYaml
final static String toYaml(SchemaDevice $self)
-
reformatModbusSchemaYaml
final static String reformatModbusSchemaYaml(String $self)
Reformat the ModbusSchema yaml to look better and align the various parts to be better readable
-
-
-
-