public class ArtifactTypeMappingService extends Object
| Constructor and Description |
|---|
ArtifactTypeMappingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration) |
String |
getStandardType(String type)
Returns the standard type for the specified type.
|
boolean |
isMappedToType(String standardType,
String customType)
Specify whether the customType could be mapped to the
standardType.
|
public void configure(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
throws EarPluginException,
org.codehaus.plexus.configuration.PlexusConfigurationException
EarPluginExceptionorg.codehaus.plexus.configuration.PlexusConfigurationExceptionpublic boolean isMappedToType(String standardType, String customType)
standardType - the standard type (ejb, jar, war, ...)customType - a user-defined typepublic String getStandardType(String type) throws UnknownArtifactTypeException
type - a typeUnknownArtifactTypeExceptionCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.