|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArtifactType>
org.apache.maven.dotnet.ArtifactType
public enum ArtifactType
Enumeration of all the valid target types (module, library, winexe, exe, nar) for the .NET platform.
Enum Constant Summary | |
---|---|
EXE
|
|
EXECONFIG
|
|
LIBRARY
|
|
MODULE
|
|
NAR
|
|
NETPLUGIN
|
|
NULL
|
|
SHARP_DEVELOP_ADDIN
|
|
VISUAL_STUDIO_ADDIN
|
|
WINEXE
|
Method Summary | |
---|---|
static ArtifactType |
getArtifactTypeForPackagingName(java.lang.String packagingName)
Returns artifact type for the specified packaging name |
java.lang.String |
getExtension()
Returns extension used for the artifact(netmodule, dll, exe). |
java.lang.String |
getPackagingType()
Returns the packaging type (as given in the package tag within the pom.xml) of the artifact. |
java.lang.String |
getTargetCompileType()
Returns target types (module, library, winexe, exe) for the .NET platform. |
static ArtifactType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArtifactType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArtifactType MODULE
public static final ArtifactType LIBRARY
public static final ArtifactType EXE
public static final ArtifactType WINEXE
public static final ArtifactType NAR
public static final ArtifactType EXECONFIG
public static final ArtifactType NETPLUGIN
public static final ArtifactType VISUAL_STUDIO_ADDIN
public static final ArtifactType SHARP_DEVELOP_ADDIN
public static final ArtifactType NULL
Method Detail |
---|
public static final ArtifactType[] values()
for(ArtifactType c : ArtifactType.values()) System.out.println(c);
public static ArtifactType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getExtension()
public java.lang.String getPackagingType()
public java.lang.String getTargetCompileType()
public static ArtifactType getArtifactTypeForPackagingName(java.lang.String packagingName)
packagingName
- the package name (as given in the package tag within the pom.xml) of the artifact.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |