public interface Parameterizable
Although this cannot be specified in a Java interface, any class
implementing this interface must also have a constructor that takes
a single
Parameterization
as option, which is used to set the class parameters.
Alternatively, a constructor with no options is also allowed.
This means, each class implementing Parameterizable must have a constructor that either is
orpublic Class(Parameterizable config) { ... }
public Class() { ... }
Constructors MUST not do expensive operations or allocations, since they will also be called just to determine and validate parameters.
For documentation, the classes should also be annotated with
Title
Description
and
Reference
(where
possible).
Please check the package documentation for full information on this interface.
The application
CheckParameterizables
can be
used to check this class contracts.