public class ArtifactTypeMappingService extends Object
| Constructor and Description |
|---|
ArtifactTypeMappingService()
Create an instance.
|
| 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 ArtifactTypeMappingService()
public void configure(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
throws EarPluginException,
org.codehaus.plexus.configuration.PlexusConfigurationException
plexusConfiguration - PlexusConfigurationEarPluginException - EarPluginExceptionorg.codehaus.plexus.configuration.PlexusConfigurationException - 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 typeUnknownArtifactTypeException - In case of missing mappings types.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.