Annotation Interface Require.Module

Enclosing class:
Require

@Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public static @interface Require.Module
The Module annotation is used to define a set of license modules required by a class. It can be used to specify which modules the next gen license must have to use the annotated class.

Example usage:

 @Module(value = {"booking", "assets"})
 public class MyClass {
     // class members
 }
 

The value attribute is used to specify the license module required.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the next-gen license modules required by the annotated class.
  • Element Details

    • value

      String[] value
      Returns the next-gen license modules required by the annotated class.

      The value attribute is used to specify the required functions as an array of strings.

      Returns:
      the license modules required by the annotated class as an array of strings