Package org.xwiki.component.descriptor
Interface ComponentRole<T>
-
- Type Parameters:
T
- the type of the component role
- All Known Subinterfaces:
ComponentDependency<T>
,ComponentDescriptor<T>
- All Known Implementing Classes:
DefaultComponentDependency
,DefaultComponentDescriptor
,DefaultComponentRole
public interface ComponentRole<T>
Identify a unique component.- Version:
- $Id: 3951d73231a6f6dff8d55dd02434431460b4107c $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Class<T>
getRole()
Deprecated.since 4.0M1 usegetRoleType()
insteadString
getRoleHint()
Type
getRoleType()
-
-
-
Method Detail
-
getRoleType
Type getRoleType()
- Returns:
- the class of the component role
-
getRoleHint
String getRoleHint()
- Returns:
- the hint of the component role
-
getRole
@Deprecated Class<T> getRole()
Deprecated.since 4.0M1 usegetRoleType()
instead- Returns:
- the class of the component role
-
-