Annotation Type Mandatory


@Retention(RUNTIME) @Target(TYPE) public @interface Mandatory
Specifies the plugin type. For example, to specify type, write:

@Mandatory(value = true)
@PluginImplementation
public class ServiceImpl implements Service { ... }


  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Type of the plugin.
  • Element Details

    • value

      boolean value
      Type of the plugin.
      Returns:
      . boolean
      Default:
      false