public enum DependencyType extends Enum<DependencyType>
Dependency.| Enum Constant and Description |
|---|
APKLIB |
JAR |
OTHER |
POM |
TESTJAR |
WAR |
ZIP |
| Modifier and Type | Method and Description |
|---|---|
static DependencyType |
getType(Element dependencyElement)
Returns the type of the dependency represented by the given XML element
|
static DependencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyType |
valueOfTypeCode(String typeCode)
Returns the
DependencyType with the given code. |
static DependencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyType JAR
public static final DependencyType POM
public static final DependencyType OTHER
public static final DependencyType WAR
public static final DependencyType ZIP
public static final DependencyType APKLIB
public static final DependencyType TESTJAR
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 getType(Element dependencyElement)
dependencyElement - the element from which to parse the type
(required)null typepublic static DependencyType valueOfTypeCode(String typeCode)
DependencyType with the given code.typeCode - the type code to decode (can be anything, case doesn't
matter)OTHER if the given code is non-blank and unrecognisedCopyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.