public enum DependencyType extends Enum<DependencyType>
Enum Constant and Description |
---|
COMPILED_SHADOW
This dependency means that the other element contains a compiled counterpart to this element.
|
PROD
The current
IjModule depends on the other element from production (non-test) code. |
RUNTIME
The current
IjModule depends on the other element from runtime only. |
TEST
The current
IjModule depends on the other element from test code only. |
Modifier and Type | Method and Description |
---|---|
static DependencyType |
merge(DependencyType left,
DependencyType right) |
static <T> void |
putWithMerge(Map<T,DependencyType> map,
T key,
DependencyType value) |
static DependencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyType TEST
IjModule
depends on the other element from test code only. This only
happens if a particular module contains both test and production code and only code in the test
folders needs to reference the other element.public static final DependencyType PROD
IjModule
depends on the other element from production (non-test) code.public static final DependencyType RUNTIME
IjModule
depends on the other element from runtime only.public static final DependencyType COMPILED_SHADOW
public static DependencyType[] values()
for (DependencyType c : DependencyType.values()) System.out.println(c);
public static DependencyType 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 nullpublic static DependencyType merge(DependencyType left, DependencyType right)
public static <T> void putWithMerge(Map<T,DependencyType> map, T key, DependencyType value)