Enum Class PublishingType

java.lang.Object
java.lang.Enum<PublishingType>
com.carrotsearch.gradle.buildinfra.publishing.mavencentral.PublishingType
All Implemented Interfaces:
Serializable, Comparable<PublishingType>, Constable

public enum PublishingType extends Enum<PublishingType>
Central Portal's deployment publishing type.
  • Enum Constant Details

    • AUTOMATIC

      public static final PublishingType AUTOMATIC
      The deployment is validated and then released to Maven Central automatically.
    • USER_MANAGED

      public static final PublishingType USER_MANAGED
      The deployment is validated and then waits for a manual release (or drop) in the Portal.
  • Method Details

    • values

      public static PublishingType[] 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 PublishingType 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