org.xwiki.extension.repository
Class AbstractExtensionRepository
java.lang.Object
org.xwiki.extension.repository.AbstractExtensionRepository
- All Implemented Interfaces:
- ExtensionRepository
public abstract class AbstractExtensionRepository
- extends Object
- implements ExtensionRepository
Base class for ExtensionRepository implementations.
- Since:
- 4.0M1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExtensionRepository
protected AbstractExtensionRepository()
- Default constructor. Used by extended classes which can't set the id in there constructor but make sure it's set
later or that
getId() is overwritten.
AbstractExtensionRepository
protected AbstractExtensionRepository(ExtensionRepositoryId id)
- Parameters:
id - the repository identifier
setId
protected void setId(ExtensionRepositoryId id)
- Parameters:
id - the repository identifier
getId
public ExtensionRepositoryId getId()
- Specified by:
getId in interface ExtensionRepository
- Returns:
- the repository identifier.
exists
public boolean exists(ExtensionId extensionId)
- Specified by:
exists in interface ExtensionRepository
- Parameters:
extensionId - the extension identifier
- Returns:
- true if the extension exists in the repository
Copyright © 2004-2012 XWiki. All Rights Reserved.