|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.ear.util.ArtifactTypeMappingService
public class ArtifactTypeMappingService
Allows to map custom artifact type to standard type.
| Method Summary | |
|---|---|
void |
configure(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
|
static ArtifactTypeMappingService |
getInstance()
|
java.lang.String |
getStandardType(java.lang.String type)
Returns the standard type for the specified type. |
boolean |
isMappedToType(java.lang.String standardType,
java.lang.String customType)
Specify whether the customType could be mapped to the standardType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ArtifactTypeMappingService getInstance()
public void configure(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
throws EarPluginException,
org.codehaus.plexus.configuration.PlexusConfigurationException
EarPluginException
org.codehaus.plexus.configuration.PlexusConfigurationException
public boolean isMappedToType(java.lang.String standardType,
java.lang.String customType)
standardType - the standard type (ejb, jar, war, ...)customType - a user-defined type
public java.lang.String getStandardType(java.lang.String type)
throws UnknownArtifactTypeException
type - a type
UnknownArtifactTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||