Enum Region

java.lang.Object
java.lang.Enum<Region>
io.jenkins.plugins.scanner.Region
All Implemented Interfaces:
Serializable, Comparable<Region>

public enum Region extends Enum<Region>
Enum representing the available Appknox regions. Each region has a value (used for CLI), display name (for UI), and base URL.
  • Enum Constant Details

    • GLOBAL

      public static final Region GLOBAL
    • UAE

      public static final Region UAE
    • SAUDI

      public static final Region SAUDI
  • Method Details

    • values

      public static Region[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Region 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()
    • getDisplayName

      public String getDisplayName()
    • getBaseUrl

      public String getBaseUrl()
    • getDefault

      public static Region getDefault()
    • fromValue

      public static Region fromValue(String value)
      Finds a Region by its value string (case-insensitive). Returns the default region if no match is found.