|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.extension.repository.DefaultExtensionRepositoryDescriptor
public class DefaultExtensionRepositoryDescriptor
Default implementation of ExtensionRepositoryDescriptor.
| Constructor Summary | |
|---|---|
DefaultExtensionRepositoryDescriptor(ExtensionRepositoryDescriptor descriptor)
|
|
DefaultExtensionRepositoryDescriptor(String id,
String type,
URI uri)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getId()
|
Map<String,String> |
getProperties()
Extends ExtensionRepositoryDescriptor standard properties. |
String |
getProperty(String key)
|
String |
getType()
|
URI |
getURI()
|
int |
hashCode()
|
void |
putProperty(String key,
String value)
Set a property. |
void |
setProperties(Map<String,String> properties)
Replace existing properties with provided properties. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExtensionRepositoryDescriptor(ExtensionRepositoryDescriptor descriptor)
descriptor - the identifier to clone
public DefaultExtensionRepositoryDescriptor(String id,
String type,
URI uri)
id - the unique identifiertype - the repository type (maven, xwiki, etc.)uri - the repository adress| Method Detail |
|---|
public String getId()
getId in interface ExtensionRepositoryDescriptorpublic String getType()
getType in interface ExtensionRepositoryDescriptorpublic URI getURI()
getURI in interface ExtensionRepositoryDescriptorpublic Map<String,String> getProperties()
ExtensionRepositoryDescriptorExtensionRepositoryDescriptor standard properties.
getProperties in interface ExtensionRepositoryDescriptorpublic String getProperty(String key)
getProperty in interface ExtensionRepositoryDescriptorkey - the property key
public void putProperty(String key,
String value)
key - the property keyvalue - the property valuegetProperty(String)public void setProperties(Map<String,String> properties)
properties - the propertiespublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||