|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.Descriptor
org.apache.avalon.meta.info.ExtensionDescriptor
A descriptor that describes a name and inteface of a lifecycle stage.
Constructor Summary | |
ExtensionDescriptor(String urn)
Creation of an extension descriptor without attributes. |
|
ExtensionDescriptor(String urn,
Properties attributes)
Creation of a extension descriptor with attributes. |
Method Summary | |
boolean |
equals(Object other)
Test is the supplied object is equal to this object. |
String |
getKey()
Return the interface reference |
int |
hashCode()
Return the hashcode for the object. |
String |
toString()
Return a stringified representation of the instance. |
Methods inherited from class org.apache.avalon.meta.info.Descriptor |
getAttribute, getAttribute, getAttributeNames, getProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExtensionDescriptor(String urn) throws NullPointerException
urn
- the extension identifier
NullPointerException
- if the urn identifer is nullpublic ExtensionDescriptor(String urn, Properties attributes) throws NullPointerException
urn
- the extension identifierattributes
- a set of attributes to associate with the extension
NullPointerException
- if the supplied urn is nullMethod Detail |
public String getKey()
public boolean equals(Object other)
equals
in class Descriptor
other
- the object to compare this object with
public int hashCode()
hashCode
in class Descriptor
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |