public abstract class AbstractComponentDescriptorEvent extends Object implements ComponentDescriptorEvent
| Constructor and Description |
|---|
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) |
public AbstractComponentDescriptorEvent()
@Deprecated public AbstractComponentDescriptorEvent(Class<?> role)
AbstractComponentDescriptorEvent(Type) insteadrole - 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) insteadrole - the component role to watchroleHint - the component rolehint to watchpublic Class<?> getRole()
getRole in interface ComponentDescriptorEventpublic Type getRoleType()
getRoleType in interface ComponentDescriptorEventpublic String getRoleHint()
getRoleHint in interface ComponentDescriptorEventCopyright © 2004–2015 XWiki. All rights reserved.