Package com.palantir.gradle.versions
Enum VersionsLockPlugin.GcvScope
- java.lang.Object
-
- java.lang.Enum<VersionsLockPlugin.GcvScope>
-
- com.palantir.gradle.versions.VersionsLockPlugin.GcvScope
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VersionsLockPlugin.GcvScope>,org.gradle.api.Named
- Enclosing class:
- VersionsLockPlugin
public static enum VersionsLockPlugin.GcvScope extends java.lang.Enum<VersionsLockPlugin.GcvScope> implements org.gradle.api.Named
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRODUCTIONTEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Must match the enum name exactly, so you can pass this intovalueOf(String).static VersionsLockPlugin.GcvScopevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VersionsLockPlugin.GcvScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCTION
public static final VersionsLockPlugin.GcvScope PRODUCTION
-
TEST
public static final VersionsLockPlugin.GcvScope TEST
-
-
Method Detail
-
values
public static VersionsLockPlugin.GcvScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VersionsLockPlugin.GcvScope c : VersionsLockPlugin.GcvScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionsLockPlugin.GcvScope valueOf(java.lang.String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
Must match the enum name exactly, so you can pass this intovalueOf(String).- Specified by:
getNamein interfaceorg.gradle.api.Named
-
-