com.togethersoft.sca.core.plugin.metric
Interface IMetricPlugin

All Superinterfaces:
ICodeInspectorExecutable, IExtensionExecutable

public interface IMetricPlugin
extends ICodeInspectorExecutable


Method Summary
 IMetric getMetric(IAnalyzerDescriptor descriptor)
          Creates the runtime metric object for the specified metric.
 IMetricSurvey[] measure(IProject project, IMetric[] metrics, JobControl jobControl)
          Returns the measurement results of the specified metrics.
 
Methods inherited from interface com.togethersoft.sca.core.ICodeInspectorExecutable
configureRegistry, run
 
Methods inherited from interface com.togethersoft.sca.core.IExtensionExecutable
setParameters
 

Method Detail

getMetric

public IMetric getMetric(IAnalyzerDescriptor descriptor)
Creates the runtime metric object for the specified metric. Returns null if the runtime object cannot be created.

measure

public IMetricSurvey[] measure(IProject project,
                               IMetric[] metrics,
                               JobControl jobControl)
Returns the measurement results of the specified metrics.