MavenRepositoryConfigVersionPolicy

Version policy defines the versions that the registry will accept.

Entries

Link copied to clipboard

VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.

Link copied to clipboard

RELEASE - repository will accept only Release versions.

Link copied to clipboard

SNAPSHOT - repository will accept only Snapshot versions.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): MavenRepositoryConfigVersionPolicy
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: MavenRepositoryConfigVersionPolicy
Link copied to clipboard
Link copied to clipboard