|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PackagingType>
eu.lindenbaum.maven.PackagingType
public enum PackagingType
Enum for the supported packaging types.
| Enum Constant Summary | |
|---|---|
ERLANG_OTP
Packaging type for Erlang/OTP applications with maven standard directory layout: |
|
ERLANG_REL
Packaging type for Erlang/OTP releases with trivial directory layout: |
|
ERLANG_STD
Packaging type for Erlang/OTP applications with Erlang/OTP standard directory layout: |
|
UNSUPPORTED
Packaging is unsupported meaning it is most certain not an Erlang/OTP packaging type at all. |
|
| Method Summary | |
|---|---|
static PackagingType |
fromString(String id)
Returns a PackagingType for a packaging id. |
boolean |
isA(String id)
Compares a specific id with this types id. |
static PackagingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PackagingType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PackagingType ERLANG_OTP
BASE
+-- src/changes (changes.xml)
+-- src/main/erlang ([ARTIFACTID].app, [ARTIFACTID].appup, *.erl, private *.hrl)
+-- src/main/include (*.hrl)
+-- src/main/priv (*)
+-- src/site (overview.edoc)
+-- src/test/include (*.hrl)
+-- src/test/erlang (*.erl)
+-- src/test/priv (*)
+-- target (build artifacts)
+-- pom.xml
public static final PackagingType ERLANG_STD
BASE
+-- doc (overview.edoc)
+-- ebin ([ARTIFACTID].app, [ARTIFACTID].appup)
+-- include (*.hrl)
+-- priv (*)
+-- src (*.erl, private *.hrl)
+-- test_include (*.hrl)
+-- test_priv (*)
+-- test_src (*.erl)
+-- test (*.erl)
+-- target (build artifacts)
+-- pom.xml
public static final PackagingType ERLANG_REL
BASE
+-- target (build artifacts)
+-- pom.xml
+-- [ARTIFACTID].rel
+-- relup
+-- sys.config
public static final PackagingType UNSUPPORTED
| Method Detail |
|---|
public static PackagingType[] values()
for (PackagingType c : PackagingType.values()) System.out.println(c);
public static PackagingType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isA(String id)
id - to compare to this enums id
true if the ids match, false otherwisepublic static PackagingType fromString(String id)
PackagingType for a packaging id. If the string does not
match a specific enum type an UNSUPPORTED is
returned.
id - used to instantiate a PackagingType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||