org.xwiki.extension.repository
Class ExtensionRepositoryId

java.lang.Object
  extended by org.xwiki.extension.repository.ExtensionRepositoryId

public class ExtensionRepositoryId
extends Object

An extension repository identifier.

Since:
4.0M1
Version:
$Id$

Constructor Summary
ExtensionRepositoryId(ExtensionRepositoryId id)
           
ExtensionRepositoryId(String id, String type, URI uri)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 String getType()
           
 URI getURI()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionRepositoryId

public ExtensionRepositoryId(ExtensionRepositoryId id)
Parameters:
id - the identifier to clone

ExtensionRepositoryId

public ExtensionRepositoryId(String id,
                             String type,
                             URI uri)
Parameters:
id - the unique identifier
type - the repository type (maven, xwiki, etc.)
uri - the repository adress
Method Detail

getId

public String getId()
Returns:
the unique identifier

getType

public String getType()
Returns:
the repository type (maven, xwiki, etc.)

getURI

public URI getURI()
Returns:
the repository adress

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 XWiki. All Rights Reserved.