Enum DeprecatedUsageOwnerRefType_1
- java.lang.Object
-
- java.lang.Enum<DeprecatedUsageOwnerRefType_1>
-
- com.gradle.scan.eventmodel.gradle.deprecation.DeprecatedUsageOwnerRefType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<DeprecatedUsageOwnerRefType_1>
@PluginVersion(since="1.16") public enum DeprecatedUsageOwnerRefType_1 extends Enum<DeprecatedUsageOwnerRefType_1>
Indicates the type of domain object that “owns” a deprecated usage.- See Also:
DeprecatedUsageOwnerRef_1_0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeprecatedUsageOwnerRefType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeprecatedUsageOwnerRefType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUGIN
public static final DeprecatedUsageOwnerRefType_1 PLUGIN
Denotes the owner is a plugin.The ID value of an owner with this type corresponds to
PluginApplicationStarted_1_0.id
.
-
SCRIPT
public static final DeprecatedUsageOwnerRefType_1 SCRIPT
Denotes the owner is a script.The ID value of an owner with this type corresponds to
ScriptApplicationStarted_1_0.id
.
-
TASK
public static final DeprecatedUsageOwnerRefType_1 TASK
Denotes the owner is a task.The ID value of an owner with this type corresponds to
TaskStarted_1_0.id
.
-
-
Method Detail
-
values
public static DeprecatedUsageOwnerRefType_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 (DeprecatedUsageOwnerRefType_1 c : DeprecatedUsageOwnerRefType_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 DeprecatedUsageOwnerRefType_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
-
-