Package org.fedoraproject.xmvn.config
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 TypeMethodDescriptionvoid
addArtifactManagement
(PackagingRule packagingRule) Method addArtifactManagement.void
addProperty
(String key, String value) Method addProperty.void
addRepository
(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.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.
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
addArtifactManagement
Method addArtifactManagement.- Parameters:
packagingRule
- a packagingRule object.
-
addProperty
Method addProperty.- Parameters:
key
- a key object.value
- a value object.
-
addRepository
Method addRepository.- Parameters:
repository
- a repository object.
-
clone
Method clone. -
getArtifactManagement
Method getArtifactManagement.- Returns:
- List
-
getBuildSettings
Get this element contains basic XMvn settings.- Returns:
- BuildSettings
-
getInstallerSettings
Get this element contains configuration of XMvn installer.- Returns:
- InstallerSettings
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getProperties
Method getProperties.- Returns:
- Properties
-
getRepositories
Method getRepositories.- Returns:
- List
-
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.
-