public static enum Semver.SemverType extends Enum<Semver.SemverType>
| Enum Constant and Description |
|---|
COCOAPODS
Follows the rules of Cocoapods.
|
IVY
Follows the rules of ivy.
|
LOOSE
Major part is required.
|
NPM
Follows the rules of NPM.
|
STRICT
The default type of version.
|
| Modifier and Type | Method and Description |
|---|---|
static Semver.SemverType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Semver.SemverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Semver.SemverType STRICT
public static final Semver.SemverType LOOSE
public static final Semver.SemverType NPM
public static final Semver.SemverType COCOAPODS
public static final Semver.SemverType IVY
public static Semver.SemverType[] values()
for (Semver.SemverType c : Semver.SemverType.values()) System.out.println(c);
public static Semver.SemverType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.