public class Configuration extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
addArtifactManagement(PackagingRule packagingRule)
Method addArtifactManagement.
|
void |
addProperty(String key,
String value)
Method addProperty.
|
Configuration |
clone()
Method clone.
|
PackagingRule |
createEffectivePackagingRule(String groupId,
String artifactId,
String version)
Create an effective packaging rule for specified artifact.
|
List<PackagingRule> |
getArtifactManagement()
Method getArtifactManagement.
|
BuildSettings |
getBuildSettings()
Get this element contains basic XMvn settings.
|
InstallerSettings |
getInstallerSettings()
Get this element contains configuration of XMvn installer.
|
String |
getModelEncoding()
Get the modelEncoding field.
|
Properties |
getProperties()
Method getProperties.
|
ResolverSettings |
getResolverSettings()
Get this element contains configuration of XMvn resolver.
|
void |
removeArtifactManagement(PackagingRule packagingRule)
Method removeArtifactManagement.
|
void |
setArtifactManagement(List<PackagingRule> artifactManagement)
Set this element configures how artifacts should be assigned
to individual packages.
|
void |
setBuildSettings(BuildSettings buildSettings)
Set this element contains basic XMvn settings.
|
void |
setInstallerSettings(InstallerSettings installerSettings)
Set this element contains configuration of XMvn installer.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setProperties(Properties properties)
Set this element lists system Java properties that should be
set before XMvn build is started.
|
void |
setResolverSettings(ResolverSettings resolverSettings)
Set this element contains configuration of XMvn resolver.
|
public void addArtifactManagement(PackagingRule packagingRule)
packagingRule
- public void addProperty(String key, String value)
key
- value
- public Configuration clone()
public List<PackagingRule> getArtifactManagement()
public BuildSettings getBuildSettings()
public InstallerSettings getInstallerSettings()
public String getModelEncoding()
public Properties getProperties()
public ResolverSettings getResolverSettings()
public void removeArtifactManagement(PackagingRule packagingRule)
packagingRule
- public void setArtifactManagement(List<PackagingRule> artifactManagement)
artifactManagement
- public void setBuildSettings(BuildSettings buildSettings)
buildSettings
- public void setInstallerSettings(InstallerSettings installerSettings)
installerSettings
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setProperties(Properties properties)
properties
- public void setResolverSettings(ResolverSettings resolverSettings)
resolverSettings
- public PackagingRule createEffectivePackagingRule(String groupId, String artifactId, String version)
groupId
- artifactId
- verson
- Copyright © 2012–2013 Red Hat, Inc.. All rights reserved.