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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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.String
getRoleHint()
String
getRoleType()
-
-
-
Method Detail
-
getRoleType
String getRoleType()
- Returns:
- the class of the component role as String
-
getRoleHint
String getRoleHint()
- Returns:
- the hint of the component role
-
equalRoleType
boolean 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.- Parameters:
type
- the type name to compare- Returns:
- true of the passed type name is equals to the component one
-
-