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
- public void addProperty(java.lang.String key, java.lang.String value)
key
- value
- public void addRepository(Repository repository)
repository
- 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
- public void removeRepository(Repository repository)
repository
- public void setArtifactManagement(java.util.List<PackagingRule> artifactManagement)
artifactManagement
- public void setBuildSettings(BuildSettings buildSettings)
buildSettings
- public void setInstallerSettings(InstallerSettings installerSettings)
installerSettings
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setProperties(java.util.Properties properties)
properties
- public void setRepositories(java.util.List<Repository> repositories)
repositories
- public void setResolverSettings(ResolverSettings resolverSettings)
resolverSettings
- Copyright © 2012–2017 Red Hat, Inc.. All rights reserved.