adaptj.toolkits.analyses.metrics
Class MetricAnalysis

java.lang.Object
  |
  +--adaptj.toolkits.Customizable
        |
        +--adaptj.toolkits.TimedCustomizable
              |
              +--adaptj.toolkits.TimedEventBoxApplicable
                    |
                    +--adaptj.toolkits.EventOperation
                          |
                          +--adaptj.toolkits.analyses.metrics.MetricAnalysis
All Implemented Interfaces:
ICustomizable, IEventBoxApplicable, IInitializable, ITimedCustomizable, XMLOutputable
Direct Known Subclasses:
ArrayMetric, BaseMetric, ConcurrencyMetric, FloatingPointMetric, InstructionMixMetric, LivenessMetric, MemoryMetric, ObjectOrientationMetric, PointerMetric, PolymorphismMetric, ProgramSizeMetric, RecursionMetric, SynchronizationMetric

public abstract class MetricAnalysis
extends EventOperation
implements XMLOutputable


Constructor Summary
MetricAnalysis(java.lang.String name, java.lang.String longName, java.lang.String description)
           
 
Method Summary
 void analysisDone()
           
 void computeResults()
           
 void displayHelp(HelpDisplayManager manager)
           
 void doDone()
           
 java.lang.String getLongName()
           
 java.lang.String getOption(java.lang.String name)
           
 void outputXML(XMLMetricPrinter xmlPrinter)
           
 void setOption(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class adaptj.toolkits.EventOperation
doInit, doPreInit
 
Methods inherited from class adaptj.toolkits.TimedEventBoxApplicable
apply, doApply, done, doVerboseDone, doVerboseInit, doVerbosePreInit, init, preInit, registerEventDependencies, registerOperationDependencies
 
Methods inherited from class adaptj.toolkits.TimedCustomizable
getTime, isTimed, setTimed, startTimer, stopTimer
 
Methods inherited from class adaptj.toolkits.Customizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface adaptj.toolkits.ICustomizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 

Constructor Detail

MetricAnalysis

public MetricAnalysis(java.lang.String name,
                      java.lang.String longName,
                      java.lang.String description)
Method Detail

getLongName

public java.lang.String getLongName()

setOption

public void setOption(java.lang.String name,
                      java.lang.String value)
Specified by:
setOption in interface ICustomizable
Overrides:
setOption in class TimedCustomizable

getOption

public java.lang.String getOption(java.lang.String name)
Specified by:
getOption in interface ICustomizable
Overrides:
getOption in class TimedCustomizable

displayHelp

public void displayHelp(HelpDisplayManager manager)
Specified by:
displayHelp in interface ICustomizable
Overrides:
displayHelp in class TimedCustomizable

outputXML

public void outputXML(XMLMetricPrinter xmlPrinter)
Specified by:
outputXML in interface XMLOutputable

computeResults

public void computeResults()

analysisDone

public void analysisDone()

doDone

public final void doDone()
Overrides:
doDone in class EventOperation