Package nl.basjes.modbus.schema
Class SchemaTest
-
- All Implemented Interfaces:
@Serializable() public final class SchemaTest
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringdescriptionprivate final List<SchemaTestRegisters>inputprivate final List<SchemaTestBlock>blocks
-
Constructor Summary
Constructors Constructor Description SchemaTest(String id, String description, List<SchemaTestRegisters> input, List<SchemaTestBlock> blocks)
-
Method Summary
Modifier and Type Method Description final StringgetId()The technical id of the test scenario. final StringgetDescription()Human-readable description of the test scenario. final List<SchemaTestRegisters>getInput()A list of 1 or more register blocks used for the test. final List<SchemaTestBlock>getBlocks()Per block which field values are expected. StringtoString()-
-
Constructor Detail
-
SchemaTest
SchemaTest(String id, String description, List<SchemaTestRegisters> input, List<SchemaTestBlock> blocks)
-
-
Method Detail
-
getId
final String getId()
The technical id of the test scenario. Must be usable as an identifier in 'all' common programming languages. So "CamelCase" (without spaces) is a good choice.
-
getDescription
final String getDescription()
Human-readable description of the test scenario.
-
getInput
final List<SchemaTestRegisters> getInput()
A list of 1 or more register blocks used for the test.
-
getBlocks
final List<SchemaTestBlock> getBlocks()
Per block which field values are expected.
-
-
-
-