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 forConsistencyAnalysis
which parse the ID, label and short ID.
-
-
Field Summary
Fields Modifier and Type Field Description protected I18nizableText
_description
Description.protected String
_id
Analysis complete id.protected I18nizableText
_label
Label.protected ODFHelper
_odfHelper
The ODF helper.protected String
_pluginName
Plugin name.protected int
_priority
Priority.protected String
_shortId
Analysis short id.
-
Constructor Summary
Constructors Constructor Description AbstractConsistencyAnalysis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
I18nizableText
getDescription()
Retrieves the description of the consistency analysis.String
getId()
Retrieves the id of the consistency analysis.I18nizableText
getLabel()
Retrieves the label of the consistency analysis.int
getPriority()
Retrieves the priority of the consistency analysis.String
getShortId()
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 Detail
-
_pluginName
protected String _pluginName
Plugin name.
-
_label
protected I18nizableText _label
Label.
-
_description
protected I18nizableText _description
Description.
-
_priority
protected int _priority
Priority.
-
_odfHelper
protected ODFHelper _odfHelper
The ODF helper.
-
-
Constructor Detail
-
AbstractConsistencyAnalysis
public AbstractConsistencyAnalysis()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
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
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getId
public String getId()
Description copied from interface:ConsistencyAnalysis
Retrieves the id of the consistency analysis.- Specified by:
getId
in interfaceConsistencyAnalysis
- Returns:
- the id.
-
getLabel
public I18nizableText getLabel()
Description copied from interface:ConsistencyAnalysis
Retrieves the label of the consistency analysis.- Specified by:
getLabel
in interfaceConsistencyAnalysis
- Returns:
- the label.
-
getDescription
public I18nizableText getDescription()
Description copied from interface:ConsistencyAnalysis
Retrieves the description of the consistency analysis.- Specified by:
getDescription
in interfaceConsistencyAnalysis
- Returns:
- the description.
-
getShortId
public String getShortId()
Description copied from interface:ConsistencyAnalysis
Retrieves the short id of the consistency analysis.- Specified by:
getShortId
in interfaceConsistencyAnalysis
- Returns:
- the short id.
-
getPriority
public int getPriority()
Description copied from interface:ConsistencyAnalysis
Retrieves the priority of the consistency analysis.- Specified by:
getPriority
in interfaceConsistencyAnalysis
- Returns:
- the priority.
-
-