public static enum AbstractGolangDependency.NoTransitiveSpec extends java.lang.Enum<AbstractGolangDependency.NoTransitiveSpec> implements org.gradle.api.specs.Spec<GolangDependency>
| Enum Constant and Description |
|---|
NO_TRANSITIVE_SPEC |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(GolangDependency dependency) |
static AbstractGolangDependency.NoTransitiveSpec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGolangDependency.NoTransitiveSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGolangDependency.NoTransitiveSpec NO_TRANSITIVE_SPEC
public static AbstractGolangDependency.NoTransitiveSpec[] values()
for (AbstractGolangDependency.NoTransitiveSpec c : AbstractGolangDependency.NoTransitiveSpec.values()) System.out.println(c);
public static AbstractGolangDependency.NoTransitiveSpec valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isSatisfiedBy(GolangDependency dependency)
isSatisfiedBy in interface org.gradle.api.specs.Spec<GolangDependency>