de.cau.cs.kieler.kiml.grana
Class AbstractInfoAnalysis

java.lang.Object
  extended by de.cau.cs.kieler.kiml.grana.AbstractInfoAnalysis
All Implemented Interfaces:
IAnalysis, IDepending<String>

public abstract class AbstractInfoAnalysis
extends Object
implements IAnalysis, IDepending<String>

Analyses that derive from this class are required to provide an id, name and description.

Rating red

Constructor Summary
AbstractInfoAnalysis()
           
 
Method Summary
 String getCategory()
          Returns the analysis category.
 List<String> getDependencies()
          Returns a list of identifiers this object is depending on.
abstract  String getDescription()
          Returns the analysis description.
abstract  String getID()
          Returns the analysis id.
abstract  String getName()
          Returns the analysis name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cau.cs.kieler.kiml.grana.IAnalysis
doAnalysis
 

Constructor Detail

AbstractInfoAnalysis

public AbstractInfoAnalysis()
Method Detail

getID

public abstract String getID()
Returns the analysis id. Has to be unique among all provided analyses.

Specified by:
getID in interface IDepending<String>
Returns:
the id

getName

public abstract String getName()
Returns the analysis name.

Returns:
the name

getDescription

public abstract String getDescription()
Returns the analysis description.

Returns:
the description

getCategory

public String getCategory()
Returns the analysis category.

Returns:
the category id

getDependencies

public List<String> getDependencies()
Returns a list of identifiers this object is depending on.

Specified by:
getDependencies in interface IDepending<String>
Returns:
the list of dependency identifiers or null if the object has no dependencies