org.apache.beehive.controls.api.versioning
Annotation Type Version


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Version

Used by the control author to specify the version (major.minor) of the control interface. Allowed on interfaces annotated with @ControlInterface. This version number is the basis for control versioning, and versioning constraints against it are enforced both at compile time and runtime.


Required Element Summary
 int major
          Major version number, typically used to track significant functionality changes.
 
Optional Element Summary
 int minor
          Minor version number, typically used to track small internal changes/fixes.
 

Element Detail

major

public abstract int major
Major version number, typically used to track significant functionality changes.

minor

public abstract int minor
Minor version number, typically used to track small internal changes/fixes. Version constraints default to ignoring the minor version number in their comparisons, but may be configured to specify a particular minor version.

Default:
0