Interface QBitConfig
- All Superinterfaces:
Serializable
Interface for configuration settings used both in the production of meta-data
for a QBit, but also at runtime, e.g., to be aware of exactly how the qbit
has been incorporated into an application.
For example:
- should the QBit define certain tables, or will they be supplied by the application?
- what other meta-data names should the qbit reference (backends, schedulers)
- what meta-data-customizer(s) should be used?
When implementing a QBit, you'll implement this interface - adding whatever
(if any) properties you need, and if you have any rules, then overriding
the validate method (ideally the one that takes the List-of-String errors)
When using a QBit, you'll create an instance of the QBit's config object,
and pass it through to the QBit producer.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
assertCondition
(boolean condition, String message, List<String> errors) default void
default void
-
Field Details
-
LOG
-
-
Method Details
-
validate
- Throws:
QBitConfigValidationException
-
validate
-
assertCondition
-
getTableMetaDataCustomizer
-