Class AbstractConsistencyAnalysis
java.lang.Object
org.ametys.plugins.odfpilotage.report.consistency.AbstractConsistencyAnalysis
- All Implemented Interfaces:
ConsistencyAnalysis
,PluginAware
,Configurable
,Serviceable
- Direct Known Subclasses:
ECTSSumAnalysis
public abstract class AbstractConsistencyAnalysis
extends Object
implements ConsistencyAnalysis, Configurable, Serviceable, PluginAware
The abstract class for
ConsistencyAnalysis
which parse the ID, label and short ID.-
Field Summary
Modifier and TypeFieldDescriptionprotected I18nizableText
Description.protected String
Analysis complete id.protected I18nizableText
Label.protected ODFHelper
The ODF helper.protected String
Plugin name.protected int
Priority.protected String
Analysis short id. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Retrieves the description of the consistency analysis.getId()
Retrieves the id of the consistency analysis.getLabel()
Retrieves the label of the consistency analysis.int
Retrieves the priority of the consistency analysis.Retrieves the short id of the consistency analysis.void
service
(ServiceManager manager) 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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.plugins.odfpilotage.report.consistency.ConsistencyAnalysis
analyze
-
Field Details
-
_pluginName
Plugin name. -
_id
Analysis complete id. -
_shortId
Analysis short id. -
_label
Label. -
_description
Description. -
_priority
Priority. -
_odfHelper
The ODF helper.
-
-
Constructor Details
-
AbstractConsistencyAnalysis
public AbstractConsistencyAnalysis()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
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
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getId
Description copied from interface:ConsistencyAnalysis
Retrieves the id of the consistency analysis.- Specified by:
getId
in interfaceConsistencyAnalysis
- Returns:
- the id.
-
getLabel
Description copied from interface:ConsistencyAnalysis
Retrieves the label of the consistency analysis.- Specified by:
getLabel
in interfaceConsistencyAnalysis
- Returns:
- the label.
-
getDescription
Description copied from interface:ConsistencyAnalysis
Retrieves the description of the consistency analysis.- Specified by:
getDescription
in interfaceConsistencyAnalysis
- Returns:
- the description.
-
getShortId
Description copied from interface:ConsistencyAnalysis
Retrieves the short id of the consistency analysis.- Specified by:
getShortId
in interfaceConsistencyAnalysis
- Returns:
- the short id.
-
getPriority
Description copied from interface:ConsistencyAnalysis
Retrieves the priority of the consistency analysis.- Specified by:
getPriority
in interfaceConsistencyAnalysis
- Returns:
- the priority.
-