|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface CoreExtensionRepository
Virtual extension repository containing core extensions.
| Method Summary | |
|---|---|
int |
countExtensions()
|
boolean |
exists(String feature)
|
CoreExtension |
getCoreExtension(String feature)
|
Collection<CoreExtension> |
getCoreExtensions()
|
CoreExtension |
getEnvironmentExtension()
Return the extension corresponding to the current environment if any. |
CoreExtension |
resolve(ExtensionDependency extensionDependency)
Return extension descriptor from the repository. |
CoreExtension |
resolve(ExtensionId extensionId)
Return extension descriptor from the repository. |
| Methods inherited from interface org.xwiki.extension.repository.ExtensionRepository |
|---|
exists, getDescriptor, getId, resolveVersions |
| Methods inherited from interface org.xwiki.extension.repository.search.Searchable |
|---|
search |
| Method Detail |
|---|
int countExtensions()
Collection<CoreExtension> getCoreExtensions()
CoreExtension getEnvironmentExtension()
CoreExtension getCoreExtension(String feature)
feature - the feature provided by the extension including its identifier (version is not needed since there
can be only one version of a core extension)
boolean exists(String feature)
feature - the feature provided by the extension including its identifier (version is not needed since there
can be only one version of a core extension)
CoreExtension resolve(ExtensionDependency extensionDependency)
throws ResolveException
ExtensionRepositoryResolveException is
thrown.
resolve in interface ExtensionRepositoryextensionDependency - the target extension as a dependency
ResolveException - failed to find extension in the repository
CoreExtension resolve(ExtensionId extensionId)
throws ResolveException
ExtensionRepositoryResolveException is
thrown.
resolve in interface ExtensionRepositoryextensionId - the extension identifier
ResolveException - failed to find extension in the repository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||