| org.apache.beehive.controls.api.versioning.VersionSupported
VersionSupported | public @interface VersionSupported(Code) | | Specifies the maximum version of the control interface that this implementation
supports. Allowed on control implementations (interfaces annotated with
@ControlImplementation). This version requirement is enforced at compile time
of the implementation, and at runtime when the implementation is classloaded.
|
Field Summary | |
int | major The major version of the control interface that this implementation
supports. | int | minor The minor version of the control interface that this implementation
supports. |
major | int major(Code) | | The major version of the control interface that this implementation
supports. Any version number less than or equal to this value will suffice,
implying that this constraint is only valid when backwards compatibility
is part of the contract when increasing the version number. Negative
values mean that any major version is acceptable (in which case this
annotation should probably just not be
present).
|
minor | int minor(Code) | | The minor version of the control interface that this implementation
supports. Any version number less than or equal to this value will suffice.
Negative values mean that any minor version is acceptable (the default case).
|
|
|