|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.component.event.AbstractComponentDescriptorEvent
public abstract class AbstractComponentDescriptorEvent
Base class for events about components descriptors.
| Constructor Summary | |
|---|---|
AbstractComponentDescriptorEvent()
Watches all roles (whenever a component is added it'll trigger this event). |
|
AbstractComponentDescriptorEvent(Class<?> role)
Deprecated. since 4.4RC1 use AbstractComponentDescriptorEvent(Type) instead |
|
AbstractComponentDescriptorEvent(Class<?> role,
String roleHint)
Deprecated. since 4.4RC1 use AbstractComponentDescriptorEvent(Type, String) instead |
|
AbstractComponentDescriptorEvent(Type roleType)
|
|
AbstractComponentDescriptorEvent(Type roleType,
String roleHint)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Class<?> |
getRole()
|
String |
getRoleHint()
|
Type |
getRoleType()
|
int |
hashCode()
|
boolean |
matches(Object otherEvent)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractComponentDescriptorEvent()
@Deprecated public AbstractComponentDescriptorEvent(Class<?> role)
AbstractComponentDescriptorEvent(Type) instead
role - the component role to watch (all components matching this role will trigger this event)public AbstractComponentDescriptorEvent(Type roleType)
roleType - the component role type to watch (all components matching this role will trigger this event)
@Deprecated
public AbstractComponentDescriptorEvent(Class<?> role,
String roleHint)
AbstractComponentDescriptorEvent(Type, String) instead
role - the component role to watchroleHint - the component rolehint to watch
public AbstractComponentDescriptorEvent(Type roleType,
String roleHint)
roleType - the component role to watchroleHint - the component rolehint to watch| Method Detail |
|---|
public Class<?> getRole()
getRole in interface ComponentDescriptorEventpublic Type getRoleType()
getRoleType in interface ComponentDescriptorEventpublic String getRoleHint()
getRoleHint in interface ComponentDescriptorEventpublic boolean matches(Object otherEvent)
matches in interface Eventpublic 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 | ||||||||