Package au.com.dius.pact.core.model
Enum PactSpecVersion
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum PactSpecVersion extends Enum<PactSpecVersion>
Pact Specification Version
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PactSpecVersion.Companion
-
Method Summary
Modifier and Type Method Description final String
versionString()
final PactSpecVersion
or(PactSpecVersion other)
final PactSpecVersion
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<PactSpecVersion>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
versionString
final String versionString()
-
or
final PactSpecVersion or(PactSpecVersion other)
-
valueOf
final PactSpecVersion valueOf(String value)
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.)
-
values
final Array<PactSpecVersion> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-