Groovy Documentation

org.gradle.api.artifacts.specs
Enum Type

java.lang.Object
  java.lang.Enum
      org.gradle.api.artifacts.specs.Type

enum Type
extends java.lang.Enum

Enum Constant Summary
EXTERNAL

PROJECT

 
Method Summary
boolean isOf(Dependency dependency)

Type valueOf(java.lang.String name)

Returns the enum constant of this type with the specified name.

org.gradle.api.artifacts.specs.Type[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class java.lang.Enum
hashCode, compareTo, compareTo, equals, toString, name, valueOf, getDeclaringClass, ordinal, getClass, wait, wait, wait, notify, notifyAll
 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Enum Constant Detail

EXTERNAL

Type EXTERNAL


PROJECT

Type PROJECT


 
Method Detail

isOf

public boolean isOf(Dependency dependency)


valueOf

Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.


values

org.gradle.api.artifacts.specs.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation