public class ArchivaRuntimeConfiguration extends Object implements Serializable
Constructor and Description |
---|
ArchivaRuntimeConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addChecksumType(String type)
Adds a checksum type
|
List<String> |
getChecksumTypes()
Returns the list of checksum types to generate
|
String |
getDataDirectory()
Get the base directory where the archiva data is stored.
|
String |
getDefaultLanguage()
Get the default language used for setting internationalized
strings.
|
FileLockConfiguration |
getFileLockConfiguration()
Get the FileLocking configuration.
|
String |
getLanguageRange()
Get comma separated list of language patterns.
|
String |
getRemoteRepositoryBaseDirectory()
Get the base directory for local storage of remote
repository data.
|
String |
getRepositoryBaseDirectory()
Get the base directory for local storage of repository data.
|
String |
getRepositoryGroupBaseDirectory()
Get the base directory for local storage of repository group data.
|
CacheConfiguration |
getUrlFailureCacheConfiguration()
Get the url failure cache configuration.
|
void |
removeChecksumType(String type)
Removes a checksum type
|
void |
setChecksumTypes(List<String> checksumTypes)
Set all checksum types
|
void |
setDataDirectory(String dataDirectory)
Set the base directory where the archiva data is stored.
|
void |
setDefaultLanguage(String defaultLanguage)
Set the default language used for setting internationalized
strings.
|
void |
setFileLockConfiguration(FileLockConfiguration fileLockConfiguration)
Set the FileLocking configuration.
|
void |
setLanguageRange(String languageRange)
Set comma separated list of language patterns.
|
void |
setRemoteRepositoryBaseDirectory(String remoteRepositoryBaseDirectory)
Set the base directory for local storage of remote
repository data.
|
void |
setRepositoryBaseDirectory(String repositoryBaseDirectory)
Set the base directory for local storage of repository data.
|
void |
setRepositoryGroupBaseDirectory(String repositoryGroupBaseDirectory) |
void |
setUrlFailureCacheConfiguration(CacheConfiguration urlFailureCacheConfiguration)
Set the url failure cache configuration.
|
public ArchivaRuntimeConfiguration()
public String getDataDirectory()
public String getDefaultLanguage()
public FileLockConfiguration getFileLockConfiguration()
public String getLanguageRange()
public String getRemoteRepositoryBaseDirectory()
public String getRepositoryBaseDirectory()
public String getRepositoryGroupBaseDirectory()
public CacheConfiguration getUrlFailureCacheConfiguration()
public void setDataDirectory(String dataDirectory)
dataDirectory
- public void setDefaultLanguage(String defaultLanguage)
defaultLanguage
- public void setFileLockConfiguration(FileLockConfiguration fileLockConfiguration)
fileLockConfiguration
- public void setLanguageRange(String languageRange)
languageRange
- public void setRemoteRepositoryBaseDirectory(String remoteRepositoryBaseDirectory)
remoteRepositoryBaseDirectory
- public void setRepositoryBaseDirectory(String repositoryBaseDirectory)
repositoryBaseDirectory
- public void setRepositoryGroupBaseDirectory(String repositoryGroupBaseDirectory)
public void setUrlFailureCacheConfiguration(CacheConfiguration urlFailureCacheConfiguration)
urlFailureCacheConfiguration
- public List<String> getChecksumTypes()
public void addChecksumType(String type)
type
- public void removeChecksumType(String type)
type
- public void setChecksumTypes(List<String> checksumTypes)
checksumTypes
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.