Package org.xwiki.extension.repository
Class AbstractExtensionRepositorySource
- java.lang.Object
-
- org.xwiki.extension.repository.AbstractExtensionRepositorySource
-
- All Implemented Interfaces:
ExtensionRepositorySource
public abstract class AbstractExtensionRepositorySource extends Object implements ExtensionRepositorySource
Base class forExtensionRepositorySource
implementations.- Since:
- 4.3M1
- Version:
- $Id: f3351cc14609b5954efae41ea3c321b540b8c530 $
-
-
Constructor Summary
Constructors Constructor Description AbstractExtensionRepositorySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ExtensionRepositoryId>
getExtensionRepositories()
int
getPriority()
The priority used to order extension repositories.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.extension.repository.ExtensionRepositorySource
getExtensionRepositoryDescriptors
-
-
-
-
Method Detail
-
getPriority
public int getPriority()
Description copied from interface:ExtensionRepositorySource
The priority used to order extension repositories. The lowest values have the highest priorities and are listed first. For example a repository priority of 100 will be checked before one with a priority of 500.- Specified by:
getPriority
in interfaceExtensionRepositorySource
- Returns:
- the priority
-
getExtensionRepositories
public Collection<ExtensionRepositoryId> getExtensionRepositories()
- Specified by:
getExtensionRepositories
in interfaceExtensionRepositorySource
- Returns:
- the extension repositories identifiers
-
-