public abstract class AbstractExtensionRepository extends Object implements ExtensionRepository
ExtensionRepository
implementations.Modifier | Constructor and Description |
---|---|
protected |
AbstractExtensionRepository()
Default constructor.
|
protected |
AbstractExtensionRepository(ExtensionRepositoryDescriptor descriptor) |
protected |
AbstractExtensionRepository(ExtensionRepositoryId id)
Deprecated.
since 4.3M1 use
AbstractExtensionRepository(ExtensionRepositoryDescriptor) instead |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(ExtensionId extensionId) |
ExtensionRepositoryDescriptor |
getDescriptor() |
ExtensionRepositoryId |
getId() |
protected void |
setDescriptor(ExtensionRepositoryDescriptor descriptor) |
protected void |
setId(ExtensionRepositoryId id)
Deprecated.
since 4.3M1 use
setDescriptor(ExtensionRepositoryDescriptor) instead |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve, resolve, resolveVersions
protected AbstractExtensionRepository()
getId()
is overwritten.protected AbstractExtensionRepository(ExtensionRepositoryDescriptor descriptor)
descriptor
- the repository descriptor@Deprecated protected AbstractExtensionRepository(ExtensionRepositoryId id)
AbstractExtensionRepository(ExtensionRepositoryDescriptor)
insteadid
- the repository identifierprotected void setDescriptor(ExtensionRepositoryDescriptor descriptor)
descriptor
- the repository descriptor@Deprecated protected void setId(ExtensionRepositoryId id)
setDescriptor(ExtensionRepositoryDescriptor)
insteadid
- the repository identifierpublic ExtensionRepositoryDescriptor getDescriptor()
getDescriptor
in interface ExtensionRepository
public ExtensionRepositoryId getId()
getId
in interface ExtensionRepository
public boolean exists(ExtensionId extensionId)
exists
in interface ExtensionRepository
extensionId
- the extension identifierCopyright © 2004–2021 XWiki. All rights reserved.