Package org.azd.enums

Enum Class Instance

java.lang.Object
java.lang.Enum<Instance>
org.azd.enums.Instance
All Implemented Interfaces:
Serializable, Comparable<Instance>, Constable

public enum Instance extends Enum<Instance>
Base Api instance
  • Enum Constant Details

    • BASE_INSTANCE

      public static final Instance BASE_INSTANCE
      Azure DevOps Api base instance "https://dev.azure.com/"
    • ACCOUNT_INSTANCE

      public static final Instance ACCOUNT_INSTANCE
      Accounts Api instance "https://app.vssps.visualstudio.com"
  • Method Details

    • values

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

      public static Instance valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getInstance

      public String getInstance()
    • setInstance

      public void setInstance(String baseInstance)
    • setSubdomain

      public String setSubdomain(String subdomainName)