Package org.fedoraproject.xmvn.config
Class ResolverSettings
java.lang.Object
org.fedoraproject.xmvn.config.ResolverSettings
- All Implemented Interfaces:
Serializable
,Cloneable
XMvn settings related to resolution of artifacts.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBlacklist
(Artifact artifact) Method addBlacklist.void
addLocalRepository
(String string) Method addLocalRepository.void
addMetadataRepository
(String string) Method addMetadataRepository.void
Method addPrefix.clone()
Method clone.Method getBlacklist.Method getLocalRepositories.Method getMetadataRepositories.Method getPrefixes.isDebug()
Get whether detailed debugging information about artifact resolution process should be logged.Get whether XMvn should refuse to resolve artifact that have more than a single piece of metadata.void
removeBlacklist
(Artifact artifact) Method removeBlacklist.void
removeLocalRepository
(String string) Method removeLocalRepository.void
removeMetadataRepository
(String string) Method removeMetadataRepository.void
removePrefix
(String string) Method removePrefix.void
setBlacklist
(List<Artifact> blacklist) Set list of blacklisted artifacts which will not be resolved.void
Set whether detailed debugging information about artifact resolution process should be logged.void
setIgnoreDuplicateMetadata
(Boolean ignoreDuplicateMetadata) Set whether XMvn should refuse to resolve artifact that have more than a single piece of metadata.void
setLocalRepositories
(List<String> localRepositories) Set list of local repositories where XMvn will look for artifacts.void
setMetadataRepositories
(List<String> metadataRepositories) Set list of repositories where XMvn will look for metadata files.void
setPrefixes
(List<String> prefixes) Set list of prefixes that XMvn resolver will prepend to system repositories.
-
Constructor Details
-
ResolverSettings
public ResolverSettings()
-
-
Method Details
-
addBlacklist
Method addBlacklist.- Parameters:
artifact
- a artifact object.
-
addLocalRepository
Method addLocalRepository.- Parameters:
string
- a string object.
-
addMetadataRepository
Method addMetadataRepository.- Parameters:
string
- a string object.
-
addPrefix
Method addPrefix.- Parameters:
string
- a string object.
-
clone
Method clone. -
getBlacklist
Method getBlacklist.- Returns:
- List
-
getLocalRepositories
Method getLocalRepositories.- Returns:
- List
-
getMetadataRepositories
Method getMetadataRepositories.- Returns:
- List
-
getPrefixes
Method getPrefixes.- Returns:
- List
-
isDebug
Get whether detailed debugging information about artifact resolution process should be logged.- Returns:
- Boolean
-
isIgnoreDuplicateMetadata
Get whether XMvn should refuse to resolve artifact that have more than a single piece of metadata.- Returns:
- Boolean
-
removeBlacklist
Method removeBlacklist.- Parameters:
artifact
- a artifact object.
-
removeLocalRepository
Method removeLocalRepository.- Parameters:
string
- a string object.
-
removeMetadataRepository
Method removeMetadataRepository.- Parameters:
string
- a string object.
-
removePrefix
Method removePrefix.- Parameters:
string
- a string object.
-
setBlacklist
Set list of blacklisted artifacts which will not be resolved.- Parameters:
blacklist
- a blacklist object.
-
setDebug
Set whether detailed debugging information about artifact resolution process should be logged.- Parameters:
debug
- a debug object.
-
setIgnoreDuplicateMetadata
Set whether XMvn should refuse to resolve artifact that have more than a single piece of metadata.- Parameters:
ignoreDuplicateMetadata
- a ignoreDuplicateMetadata object.
-
setLocalRepositories
Set list of local repositories where XMvn will look for artifacts.- Parameters:
localRepositories
- a localRepositories object.
-
setMetadataRepositories
Set list of repositories where XMvn will look for metadata files.- Parameters:
metadataRepositories
- a metadataRepositories object.
-
setPrefixes
Set list of prefixes that XMvn resolver will prepend to system repositories.- Parameters:
prefixes
- a prefixes object.
-