Enum AuthorizationPhaseType

  • All Implemented Interfaces:
    Serializable, Comparable<AuthorizationPhaseType>

    public enum AuthorizationPhaseType
    extends Enum<AuthorizationPhaseType>

    Java class for AuthorizationPhaseType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="AuthorizationPhaseType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="request"/>
         <enumeration value="execution"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • REQUEST

        public static final AuthorizationPhaseType REQUEST
        Authorize the requested operations. I.e. the authorization happens at the beginning of request processing. The request may be spread to many other operations but in this case only the explicitly requested set is authorized.
      • EXECUTION

        public static final AuthorizationPhaseType EXECUTION
        Authorize the executed operations. I.e. the authorization happens at the end of request processing. The request may be spread to many other operations but in this case all the requested and computed operations are authorized.
    • Method Detail

      • values

        public static AuthorizationPhaseType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AuthorizationPhaseType c : AuthorizationPhaseType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AuthorizationPhaseType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()