public enum DependencyScope extends Enum<DependencyScope>
Enum Constant and Description |
---|
ANNOTATION_PROCESSOR
A dependency that is used as an annotation processor when compiling a project.
|
COMPILE
A dependency that is used to compile a project.
|
COMPILE_ONLY
A dependency that is a compile time only dependency and not used at runtime.
|
PROVIDED_RUNTIME
A dependency that is provided and is used to run the project.
|
RUNTIME
A dependency this is used to run a project.
|
TEST_COMPILE
A dependency that is used to compile a project's tests.
|
TEST_RUNTIME
A dependency this is used to run a project's tests.
|
Modifier and Type | Method and Description |
---|---|
static DependencyScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyScope ANNOTATION_PROCESSOR
public static final DependencyScope COMPILE
public static final DependencyScope COMPILE_ONLY
public static final DependencyScope RUNTIME
public static final DependencyScope PROVIDED_RUNTIME
public static final DependencyScope TEST_COMPILE
public static final DependencyScope TEST_RUNTIME
public static DependencyScope[] values()
for (DependencyScope c : DependencyScope.values()) System.out.println(c);
public static DependencyScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.