Class DefaultExtensionRepositoryDescriptor

java.lang.Object
org.xwiki.extension.repository.DefaultExtensionRepositoryDescriptor
All Implemented Interfaces:
ExtensionRepositoryDescriptor
Direct Known Subclasses:
ExtensionRepositoryId

public class DefaultExtensionRepositoryDescriptor extends Object implements ExtensionRepositoryDescriptor
Default implementation of ExtensionRepositoryDescriptor.
Since:
4.3M1
Version:
$Id: d1dba436b3c605fee341d709deb7ef2715e07acf $
  • Constructor Details

    • DefaultExtensionRepositoryDescriptor

      public DefaultExtensionRepositoryDescriptor(ExtensionRepositoryDescriptor descriptor)
      Parameters:
      descriptor - the identifier to clone
    • DefaultExtensionRepositoryDescriptor

      public DefaultExtensionRepositoryDescriptor(String id)
      Constructor to use only for "virtual" repositories having no storage like the ExtensionRepositoryManager.
      Parameters:
      id - the unique identifier
      Since:
      8.3RC1
    • DefaultExtensionRepositoryDescriptor

      public DefaultExtensionRepositoryDescriptor(String id, String type, URI uri)
      Parameters:
      id - the unique identifier
      type - the repository type (maven, xwiki, etc.)
      uri - the repository address
    • DefaultExtensionRepositoryDescriptor

      public DefaultExtensionRepositoryDescriptor(String id, String type, URI uri, Map<String,String> properties)
      Parameters:
      id - the unique identifier
      type - the repository type (maven, xwiki, etc.)
      uri - the repository address
      properties - the properties
      Since:
      12.2
  • Method Details