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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) Get the labelsgetLabelTitle(String value) Get the title of a labelvoidservice(ServiceManager smanager) voidsetPluginInfo(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:PluginAwareSets 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:
setPluginInfoin 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:
servicein interfaceServiceable- Throws:
ServiceException
-
configure
- Specified by:
configurein 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
-