Enum AbstractNotationDependency.NoTransitivePredicate
- java.lang.Object
-
- java.lang.Enum<AbstractNotationDependency.NoTransitivePredicate>
-
- com.github.blindpirate.gogradle.core.dependency.AbstractNotationDependency.NoTransitivePredicate
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractNotationDependency.NoTransitivePredicate>,java.util.function.Predicate<GolangDependency>
- Enclosing class:
- AbstractNotationDependency
public static enum AbstractNotationDependency.NoTransitivePredicate extends java.lang.Enum<AbstractNotationDependency.NoTransitivePredicate> implements java.util.function.Predicate<GolangDependency>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_TRANSITIVE_PREDICATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(GolangDependency dependency)static AbstractNotationDependency.NoTransitivePredicatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractNotationDependency.NoTransitivePredicate[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_TRANSITIVE_PREDICATE
public static final AbstractNotationDependency.NoTransitivePredicate NO_TRANSITIVE_PREDICATE
-
-
Method Detail
-
values
public static AbstractNotationDependency.NoTransitivePredicate[] 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 (AbstractNotationDependency.NoTransitivePredicate c : AbstractNotationDependency.NoTransitivePredicate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractNotationDependency.NoTransitivePredicate 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
-
test
public boolean test(GolangDependency dependency)
- Specified by:
testin interfacejava.util.function.Predicate<GolangDependency>
-
-