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 for
ExtensionRepositorySource
implementations.- Since:
- 4.3M1
- Version:
- $Id: f3351cc14609b5954efae41ea3c321b540b8c530 $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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
-
Constructor Details
-
AbstractExtensionRepositorySource
public AbstractExtensionRepositorySource()
-
-
Method Details
-
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
- Specified by:
getExtensionRepositories
in interfaceExtensionRepositorySource
- Returns:
- the extension repositories identifiers
-