Annotation Type PolicyValidator.PolicyStatement

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The statement of this policy.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean inherit
      By default, all policy statements defined on all levels (application, class, method, field) are executed in order.
    • Element Detail

      • value

        String value
        The statement of this policy. Actual value depends on policy engine in use.
        Returns:
        policy statement value
      • inherit

        boolean inherit
        By default, all policy statements defined on all levels (application, class, method, field) are executed in order. If set to false, on the last policy in the list is executed (e.g. only on method for resource method of Jersey integration, if it is defined on method). NOTE: if there is no statement defined on current level, we will use a statement from nearest level above
        Returns:
        whether to inherit policies from annotations defined on higher level
        Default:
        true