Class PolicyAlternatives

    • Constructor Detail

    • Method Detail

      • getType

        public String getType()
        Description copied from interface: SecurityPolicy
        Get the type of the policy.

        Implementation Note: Useful to avoid instanceof checks and String.equals checks

        Specified by:
        getType in interface SecurityPolicy
        Returns:
        the type of the policy
      • isEmpty

        public boolean isEmpty()
        Returns:
        true if empty