Package org.xwiki.extension
Interface ExtensionComponent
- All Known Implementing Classes:
DefaultExtensionComponent
public interface ExtensionComponent
Informations related to a component provided by an extension.
- Since:
- 13.3RC1
- Version:
- $Id: 4d637b31764f1450bf911468bf7576754e5cec2a $
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equalRoleType
(String type) The same type can be represented as several differentString
so it's recommended to use this method when you want to compare a type name with this extension component type.
-
Method Details
-
getRoleType
String getRoleType()- Returns:
- the class of the component role as String
-
getRoleHint
String getRoleHint()- Returns:
- the hint of the component role
-
equalRoleType
The same type can be represented as several differentString
so it's recommended to use this method when you want to compare a type name with this extension component type.- Parameters:
type
- the type name to compare- Returns:
- true of the passed type name is equals to the component one
-