|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtensionRepository
A repository containing extensions.
| Method Summary | |
|---|---|
boolean |
exists(ExtensionId extensionId)
|
ExtensionRepositoryDescriptor |
getDescriptor()
|
ExtensionRepositoryId |
getId()
Deprecated. since 4.3M1 use getDescriptor() instead |
Extension |
resolve(ExtensionDependency extensionDependency)
Return extension descriptor from the repository. |
Extension |
resolve(ExtensionId extensionId)
Return extension descriptor from the repository. |
IterableResult<Version> |
resolveVersions(String id,
int offset,
int nb)
Return ordered (ascendent) versions for the provided extension id. |
| Method Detail |
|---|
@Deprecated ExtensionRepositoryId getId()
getDescriptor() instead
ExtensionRepositoryDescriptor getDescriptor()
Extension resolve(ExtensionId extensionId)
throws ResolveException
ResolveException is
thrown.
extensionId - the extension identifier
ResolveException - failed to find extension in the repository
Extension resolve(ExtensionDependency extensionDependency)
throws ResolveException
ResolveException is
thrown.
extensionDependency - the target extension as a dependency
ResolveException - failed to find extension in the repository
IterableResult<Version> resolveVersions(String id,
int offset,
int nb)
throws ResolveException
id - the id of the extensions for which to return versionsoffset - the offset from where to start returning versionsnb - the maximum number of versions to return
ResolveException - fail to find extension for provided idboolean exists(ExtensionId extensionId)
extensionId - the extension identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||