Annotation Interface ExternalEntitlement


@Target(CONSTRUCTOR) @Retention(RUNTIME) public @interface ExternalEntitlement
This annotation indicates an Entitlement is available to "external" classes such as those used in plugins. Any Entitlement using this annotation is considered parseable as part of a policy file for entitlements.
  • Element Details

    • parameterNames

      String[] parameterNames
      This is the list of parameter names that are parseable in PolicyParser.parseEntitlement(String, String). The number and order of parameter names much match the number and order of constructor parameters as this is how the parser will pass in the parsed values from a policy file. However, the names themselves do NOT have to match the parameter names of the constructor.
      Default:
      {}