public class Configuration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
addArtifactManagement(PackagingRule packagingRule)
Method addArtifactManagement.
|
void |
addProperty(java.lang.String key,
java.lang.String value)
Method addProperty.
|
void |
addRepository(Repository repository)
Method addRepository.
|
Configuration |
clone()
Method clone.
|
java.util.List<PackagingRule> |
getArtifactManagement()
Method getArtifactManagement.
|
BuildSettings |
getBuildSettings()
Get this element contains basic XMvn settings.
|
InstallerSettings |
getInstallerSettings()
Get this element contains configuration of XMvn installer.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.util.Properties |
getProperties()
Method getProperties.
|
java.util.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(java.util.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(java.lang.String modelEncoding)
Set the modelEncoding field.
|
void |
setProperties(java.util.Properties properties)
Set this element lists system Java properties that should be
set before XMvn build is started.
|
void |
setRepositories(java.util.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
- a packagingRule object.public void addProperty(java.lang.String key, java.lang.String value)
key
- a key object.value
- a value object.public void addRepository(Repository repository)
repository
- a repository object.public Configuration clone()
clone
in class java.lang.Object
public java.util.List<PackagingRule> getArtifactManagement()
public BuildSettings getBuildSettings()
public InstallerSettings getInstallerSettings()
public java.lang.String getModelEncoding()
public java.util.Properties getProperties()
public java.util.List<Repository> getRepositories()
public ResolverSettings getResolverSettings()
public void removeArtifactManagement(PackagingRule packagingRule)
packagingRule
- a packagingRule object.public void removeRepository(Repository repository)
repository
- a repository object.public void setArtifactManagement(java.util.List<PackagingRule> artifactManagement)
artifactManagement
- a artifactManagement object.public void setBuildSettings(BuildSettings buildSettings)
buildSettings
- a buildSettings object.public void setInstallerSettings(InstallerSettings installerSettings)
installerSettings
- a installerSettings object.public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- a modelEncoding object.public void setProperties(java.util.Properties properties)
properties
- a properties object.public void setRepositories(java.util.List<Repository> repositories)
repositories
- a repositories object.public void setResolverSettings(ResolverSettings resolverSettings)
resolverSettings
- a resolverSettings object.Copyright © 2012–2023 Red Hat, Inc.. All rights reserved.