| 
||||||||||
| 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: 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, site.xml) +-- src/site/apt (*.apt) +-- src/test/include (*.hrl) +-- src/test/erlang (*.erl) +-- src/test/priv (*) +-- target (build artifacts) +-- pom.xml +-- *.rel +-- *.relup  | 
|
ERLANG_REL
Packaging type for erlang/OTP releases with trivial directory layout: BASE +-- target (build artifacts) +-- pom.xml +-- sys.config +-- [ARTIFACTID].rel +-- [ARTIFACTID].relup  | 
|
ERLANG_STD
Packaging type for erlang/OTP applications with erlang/OTP standard directory layout: BASE +-- ebin ([ARTIFACTID].app, [ARTIFACTID].appup) +-- include (*.hrl) +-- priv (*) +-- src (*.erl, private *.hrl) +-- src/changes (changes.xml) +-- src/site (overview.edoc, site.xml) +-- src/site/apt (*.apt) +-- test_include (*.hrl) +-- test_priv (*) +-- test_src (*.erl) +-- target (build artifacts) +-- pom.xml  | 
|
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, site.xml)
    +-- src/site/apt (*.apt)
    +-- src/test/include (*.hrl)
    +-- src/test/erlang (*.erl)
    +-- src/test/priv (*)
    +-- target (build artifacts)
    +-- pom.xml
    +-- *.rel
    +-- *.relup
 
public static final PackagingType ERLANG_STD
  BASE
    +-- ebin ([ARTIFACTID].app, [ARTIFACTID].appup)
    +-- include (*.hrl)
    +-- priv (*)
    +-- src (*.erl, private *.hrl)
    +-- src/changes (changes.xml)
    +-- src/site (overview.edoc, site.xml)
    +-- src/site/apt (*.apt)
    +-- test_include (*.hrl)
    +-- test_priv (*)
    +-- test_src (*.erl)
    +-- target (build artifacts)
    +-- pom.xml
 
public static final PackagingType ERLANG_REL
  BASE
    +-- target (build artifacts)
    +-- pom.xml
    +-- sys.config
    +-- [ARTIFACTID].rel
    +-- [ARTIFACTID].relup
 
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 IllegalArgumentException is thrown.
id - used to instantiate a PackagingType
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||