Enum BaseRestPath

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseRestPath>

    public enum BaseRestPath
    extends java.lang.Enum<BaseRestPath>
    The enum class BaseRestPath holds constants for the base rest path values
    • Enum Constant Detail

      • VERSION_1

        public static final BaseRestPath VERSION_1
        The enum value for the rest path VERSION 1
      • VERSION_1_DOCKET_PATHS_REGEX

        public static final BaseRestPath VERSION_1_DOCKET_PATHS_REGEX
        The enum value for the regex docket path version 1
      • VERSION_2

        public static final BaseRestPath VERSION_2
        The enum value for the rest path VERSION 2
      • VERSION_2_DOCKET_PATHS_REGEX

        public static final BaseRestPath VERSION_2_DOCKET_PATHS_REGEX
        The enum value for the regex docket path version 2
      • VERSION_3

        public static final BaseRestPath VERSION_3
        The enum value for the rest path VERSION 3
      • VERSION_3_DOCKET_PATHS_REGEX

        public static final BaseRestPath VERSION_3_DOCKET_PATHS_REGEX
        The enum value for the regex docket path version 3
      • VERSION_4

        public static final BaseRestPath VERSION_4
        The enum value for the rest path VERSION 4
      • VERSION_4_DOCKET_PATHS_REGEX

        public static final BaseRestPath VERSION_4_DOCKET_PATHS_REGEX
        The enum value for the regex docket path version 4
      • VERSION_5

        public static final BaseRestPath VERSION_5
        The enum value for the rest path VERSION 5
      • VERSION_5_DOCKET_PATHS_REGEX

        public static final BaseRestPath VERSION_5_DOCKET_PATHS_REGEX
        The enum value for the regex docket path version 1
    • Field Detail

      • REST_DOCKET_PATHS_REGEX_SUFFIX

        public static final java.lang.String REST_DOCKET_PATHS_REGEX_SUFFIX
        See Also:
        Constant Field Values
      • REST_API_VERSION_1

        public static final java.lang.String REST_API_VERSION_1
        See Also:
        Constant Field Values
      • REST_API_VERSION_2

        public static final java.lang.String REST_API_VERSION_2
        See Also:
        Constant Field Values
      • REST_API_VERSION_3

        public static final java.lang.String REST_API_VERSION_3
        See Also:
        Constant Field Values
      • REST_API_VERSION_4

        public static final java.lang.String REST_API_VERSION_4
        See Also:
        Constant Field Values
      • REST_API_VERSION_5

        public static final java.lang.String REST_API_VERSION_5
        See Also:
        Constant Field Values
      • REST_VERSION_1_DOCKET_PATHS_REGEX

        public static final java.lang.String REST_VERSION_1_DOCKET_PATHS_REGEX
        See Also:
        Constant Field Values
      • REST_VERSION_2_DOCKET_PATHS_REGEX

        public static final java.lang.String REST_VERSION_2_DOCKET_PATHS_REGEX
        See Also:
        Constant Field Values
      • REST_VERSION_3_DOCKET_PATHS_REGEX

        public static final java.lang.String REST_VERSION_3_DOCKET_PATHS_REGEX
        See Also:
        Constant Field Values
      • REST_VERSION_4_DOCKET_PATHS_REGEX

        public static final java.lang.String REST_VERSION_4_DOCKET_PATHS_REGEX
        See Also:
        Constant Field Values
      • REST_VERSION_5_DOCKET_PATHS_REGEX

        public static final java.lang.String REST_VERSION_5_DOCKET_PATHS_REGEX
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static BaseRestPath valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()