java.module.annotation
Annotation Type Version


@Target(value={TYPE,SUPERPACKAGE})
@Retention(value=RUNTIME)
public @interface Version

Indicates the version of a module definition. The version format must follow the one described in the Version class. This metadata annotation is applied to the development module, i.e. the superpackage construct.

For examples,

    @Version("1.0.0")
    superpackage com.wombat.xyz {
       ...
    }

    @Version("2.3.4-b17-beta")
    superpackage com.wombat.xyz {
       ...
    }

    @Version("3.4.5.6-b44-rc")
    superpackage com.wombat.xyz {
       ...
    }
 

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
Version

Required Element Summary
 String value
          Version of the module definition.
 

Element Detail

value

public abstract String value
Version of the module definition.