Enum PluginCodeSourceType_1
- java.lang.Object
-
- java.lang.Enum<PluginCodeSourceType_1>
-
- com.gradle.scan.eventmodel.gradle.plugin.PluginCodeSourceType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginCodeSourceType_1>
@PluginVersion(since="1.0") public enum PluginCodeSourceType_1 extends Enum<PluginCodeSourceType_1>
Specifies the code source type of a plugin.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_SCRIPT
BUILD_SRC
DEPENDENCY_CACHE
GRADLE_DISTRIBUTION
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginCodeSourceType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static PluginCodeSourceType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRADLE_DISTRIBUTION
@PluginVersion(since="1.0") public static final PluginCodeSourceType_1 GRADLE_DISTRIBUTION
-
DEPENDENCY_CACHE
@PluginVersion(since="1.0") public static final PluginCodeSourceType_1 DEPENDENCY_CACHE
-
BUILD_SCRIPT
@PluginVersion(since="1.0") public static final PluginCodeSourceType_1 BUILD_SCRIPT
-
BUILD_SRC
@PluginVersion(since="1.0") public static final PluginCodeSourceType_1 BUILD_SRC
-
UNKNOWN
@PluginVersion(since="1.0") public static final PluginCodeSourceType_1 UNKNOWN
-
-
Method Detail
-
values
public static PluginCodeSourceType_1[] 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 (PluginCodeSourceType_1 c : PluginCodeSourceType_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginCodeSourceType_1 valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-