Package com.gengoai.specification
Interface Specifiable
-
- All Known Implementing Classes:
KeyValueStoreConnection
public interface Specifiable
Classes implementing Specifiable can be constructed and described usingSpecification
syntax. Note: that all implementing classes should have a no-argument constructor.- Author:
- David B. Bracewell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getSchema()
Gets the schema of this specifiable.default String
toSpecification()
Generates a specification strings from this instance.
-
-
-
Method Detail
-
getSchema
String getSchema()
Gets the schema of this specifiable. Will be used for validation when parsing the specification string.- Returns:
- the schema
-
toSpecification
default String toSpecification()
Generates a specification strings from this instance.- Returns:
- the specification string
-
-