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.
|
void |
addRepository(Repository repository)
Method addRepository.
|
Configuration |
clone()
Method clone.
|
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.
|
List<Repository> |
getRepositories()
Method getRepositories.
|
ResolverSettings |
getResolverSettings()
Get this element contains configuration of XMvn resolver.
|
void |
removeArtifactManagement(PackagingRule packagingRule)
Method removeArtifactManagement.
|
void |
removeRepository(Repository repository)
Method removeRepository.
|
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 |
setRepositories(List<Repository> repositories)
Set list of repositories.
|
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 void addRepository(Repository repository)
repository - public Configuration clone()
public List<PackagingRule> getArtifactManagement()
public BuildSettings getBuildSettings()
public InstallerSettings getInstallerSettings()
public String getModelEncoding()
public Properties getProperties()
public List<Repository> getRepositories()
public ResolverSettings getResolverSettings()
public void removeArtifactManagement(PackagingRule packagingRule)
packagingRule - public void removeRepository(Repository repository)
repository - 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 setRepositories(List<Repository> repositories)
repositories - public void setResolverSettings(ResolverSettings resolverSettings)
resolverSettings - Copyright © 2012-2015 Red Hat, Inc.. All Rights Reserved.