Package org.ametys.odf.enumeration
Class CertificationLabels
java.lang.Object
org.ametys.odf.enumeration.CertificationLabels
- All Implemented Interfaces:
PluginAware
,Component
,Configurable
,Serviceable
public class CertificationLabels
extends Object
implements Serviceable, Configurable, Component, PluginAware
Component for certification labels
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Get the labelsgetLabelTitle
(String value) Get the title of a labelvoid
service
(ServiceManager smanager) void
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.
-
Field Details
-
ROLE
The Avalon role
-
-
Constructor Details
-
CertificationLabels
public CertificationLabels()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getLabelTitle
Get the title of a label- Parameters:
value
- the code of label- Returns:
- the label's title
-
getLabels
Get the labels- Returns:
- the labels
-