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 TypeMethodDescriptionvoidaddBlacklist(Artifact artifact) Method addBlacklist.voidaddLocalRepository(String string) Method addLocalRepository.voidaddMetadataRepository(String string) Method addMetadataRepository.voidMethod 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.voidremoveBlacklist(Artifact artifact) Method removeBlacklist.voidremoveLocalRepository(String string) Method removeLocalRepository.voidremoveMetadataRepository(String string) Method removeMetadataRepository.voidremovePrefix(String string) Method removePrefix.voidsetBlacklist(List<Artifact> blacklist) Set list of blacklisted artifacts which will not be resolved.voidSet whether detailed debugging information about artifact resolution process should be logged.voidsetIgnoreDuplicateMetadata(Boolean ignoreDuplicateMetadata) Set whether XMvn should refuse to resolve artifact that have more than a single piece of metadata.voidsetLocalRepositories(List<String> localRepositories) Set list of local repositories where XMvn will look for artifacts.voidsetMetadataRepositories(List<String> metadataRepositories) Set list of repositories where XMvn will look for metadata files.voidsetPrefixes(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
-
clone
Method clone. -
getBlacklist
-
getLocalRepositories
-
getMetadataRepositories
-
getPrefixes
-
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
-
setBlacklist
-
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
-
setMetadataRepositories
-
setPrefixes
-