Enum Class NamespaceClient.PrefixCheck

java.lang.Object
java.lang.Enum<NamespaceClient.PrefixCheck>
io.jenkins.plugins.namespacecloud.client.NamespaceClient.PrefixCheck
All Implemented Interfaces:
Serializable, Comparable<NamespaceClient.PrefixCheck>, Constable
Enclosing class:
NamespaceClient

public static enum NamespaceClient.PrefixCheck extends Enum<NamespaceClient.PrefixCheck>
Outcome of checking a configured workspace prefix against the registry.
  • Enum Constant Details

    • VERIFIED

      public static final NamespaceClient.PrefixCheck VERIFIED
      The registry served this repository path, so the prefix is right.
    • REJECTED

      public static final NamespaceClient.PrefixCheck REJECTED
      The registry refused the path; the prefix is almost certainly wrong.
    • INCONCLUSIVE

      public static final NamespaceClient.PrefixCheck INCONCLUSIVE
      No repositories to test against, or the registry could not be reached.
  • Method Details

    • values

      public static NamespaceClient.PrefixCheck[] 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 NamespaceClient.PrefixCheck 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