Class Configuration
java.lang.Object
org.fedoraproject.xmvn.config.Configuration
- All Implemented Interfaces:
Serializable, Cloneable
Root element of the configuration file.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifactManagement(PackagingRule packagingRule) Method addArtifactManagement.voidaddProperty(String key, String value) Method addProperty.voidaddRepository(Repository repository) Method addRepository.clone()Method clone.Method getArtifactManagement.Get this element contains basic XMvn settings.Get this element contains configuration of XMvn installer.Get the modelEncoding field.Method getProperties.Method getRepositories.Get this element contains configuration of XMvn resolver.voidremoveArtifactManagement(PackagingRule packagingRule) Method removeArtifactManagement.voidremoveRepository(Repository repository) Method removeRepository.voidsetArtifactManagement(List<PackagingRule> artifactManagement) Set this element configures how artifacts should be assigned to individual packages.voidsetBuildSettings(BuildSettings buildSettings) Set this element contains basic XMvn settings.voidsetInstallerSettings(InstallerSettings installerSettings) Set this element contains configuration of XMvn installer.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetProperties(Properties properties) Set this element lists system Java properties that should be set before XMvn build is started.voidsetRepositories(List<Repository> repositories) Set list of repositories.voidsetResolverSettings(ResolverSettings resolverSettings) Set this element contains configuration of XMvn resolver.
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
addArtifactManagement
Method addArtifactManagement.- Parameters:
packagingRule- a packagingRule object.
-
addProperty
-
addRepository
Method addRepository.- Parameters:
repository- a repository object.
-
clone
-
getArtifactManagement
-
getBuildSettings
Get this element contains basic XMvn settings.- Returns:
- BuildSettings
-
getInstallerSettings
Get this element contains configuration of XMvn installer.- Returns:
- InstallerSettings
-
getModelEncoding
-
getProperties
-
getRepositories
-
getResolverSettings
Get this element contains configuration of XMvn resolver.- Returns:
- ResolverSettings
-
removeArtifactManagement
Method removeArtifactManagement.- Parameters:
packagingRule- a packagingRule object.
-
removeRepository
Method removeRepository.- Parameters:
repository- a repository object.
-
setArtifactManagement
Set this element configures how artifacts should be assigned to individual packages.- Parameters:
artifactManagement- a artifactManagement object.
-
setBuildSettings
Set this element contains basic XMvn settings.- Parameters:
buildSettings- a buildSettings object.
-
setInstallerSettings
Set this element contains configuration of XMvn installer.- Parameters:
installerSettings- a installerSettings object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setProperties
Set this element lists system Java properties that should be set before XMvn build is started.- Parameters:
properties- a properties object.
-
setRepositories
Set list of repositories. Repositories can be used by resolvers as source of artifacts, by installers as target where artifacts should be installed, or by any other component.- Parameters:
repositories- a repositories object.
-
setResolverSettings
Set this element contains configuration of XMvn resolver.- Parameters:
resolverSettings- a resolverSettings object.
-