public enum ArtifactClassificationType extends Enum<ArtifactClassificationType>
Artifact
and in which ClassLoader
should be
added.Enum Constant and Description |
---|
APPLICATION
Artifact should be classified as an application. |
MODULE
Artifact should be classified as module. |
PLUGIN
Artifact should be classified as plugin. |
Modifier and Type | Method and Description |
---|---|
static ArtifactClassificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactClassificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactClassificationType APPLICATION
Artifact
should be classified as an application. If the artifact has main code, it is
added to the APPLICATION ClassLoader
.public static final ArtifactClassificationType PLUGIN
Artifact
should be classified as plugin. The main code of the
Artifact
is added to the PLUGIN ClassLoader
.public static final ArtifactClassificationType MODULE
Artifact
should be classified as module. The main code of the
Artifact
is added to the CONTAINER ClassLoader
.public static ArtifactClassificationType[] values()
for (ArtifactClassificationType c : ArtifactClassificationType.values()) System.out.println(c);
public static ArtifactClassificationType 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 nullCopyright © 2018. All rights reserved.