Enum MCPServerDTO.AccessControlEnum

  • All Implemented Interfaces:
    Serializable, Comparable<MCPServerDTO.AccessControlEnum>
    Enclosing class:
    MCPServerDTO

    public static enum MCPServerDTO.AccessControlEnum
    extends Enum<MCPServerDTO.AccessControlEnum>
    Is the MCP server restricted to certain publishers or creators or is it visible to all publishers and creators. If the accessControl restriction is NONE, this can be modified by all publishers and creators. Otherwise, it can only be viewable/modifiable by a specific set of users based on the restriction.
    • Method Detail

      • values

        public static MCPServerDTO.AccessControlEnum[] 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 (MCPServerDTO.AccessControlEnum c : MCPServerDTO.AccessControlEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MCPServerDTO.AccessControlEnum 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
      • getValue

        public String getValue()