Enum AccessPath

    • Enum Constant Detail

      • UNKNOWN

        public static final AccessPath UNKNOWN
        An unknown access path, probably should not be special.
      • REST_API

        public static final AccessPath REST_API
        Access through the REST API.
      • WEB_BROWSER

        public static final AccessPath WEB_BROWSER
        Access by a web cookie. This path is not protected like REST_API.
      • SSH_COMMAND

        public static final AccessPath SSH_COMMAND
        Access through an SSH command that is not invoked by Git.
      • GIT

        public static final AccessPath GIT
        Access from a Git client using any Git protocol.
    • Method Detail

      • values

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

        public static AccessPath 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