@Role public interface ExtensionManagerConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INDEX_INTERVAL
The default interval between two extension indexing.
|
Modifier and Type | Method and Description |
---|---|
Collection<ExtensionRepositoryDescriptor> |
getExtensionRepositoryDescriptors() |
default int |
getIndexInterval() |
File |
getLocalRepository() |
default VersionConstraint |
getRecomendedVersionConstraint(String id) |
default VersionConstraint |
getRecomendedVersionConstraint(String id,
VersionConstraint defaultVersion) |
Collection<ExtensionRepositoryId> |
getRepositories()
Deprecated.
since 4.3M1 use
getExtensionRepositoryDescriptors() instead |
String |
getUserAgent() |
default boolean |
isIgnoredDependency(ExtensionDependency dependency) |
default boolean |
resolveCoreExtensions() |
static final int DEFAULT_INDEX_INTERVAL
File getLocalRepository()
LocalExtensionRepository
@Deprecated Collection<ExtensionRepositoryId> getRepositories()
getExtensionRepositoryDescriptors()
insteadCollection<ExtensionRepositoryDescriptor> getExtensionRepositoryDescriptors()
String getUserAgent()
default boolean resolveCoreExtensions()
default VersionConstraint getRecomendedVersionConstraint(String id, VersionConstraint defaultVersion)
id
- the identifier of the extensiondefaultVersion
- the version of the extensiondefault VersionConstraint getRecomendedVersionConstraint(String id)
id
- the identifier of the extensiondefault boolean isIgnoredDependency(ExtensionDependency dependency)
dependency
- the dependency@Unstable default int getIndexInterval()
Copyright © 2004–2021 XWiki. All rights reserved.