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
EarPluginException
org.codehaus.plexus.configuration.PlexusConfigurationException
public 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
Copyright © 2002-2021 The Apache Software Foundation. All Rights Reserved.