Kieker 1.2

kieker.tools.traceAnalysis.plugins.visualization.util.dot
Class StructureElement

java.lang.Object
  extended by kieker.tools.traceAnalysis.plugins.visualization.util.dot.StructureElement
All Implemented Interfaces:
Comparable<StructureElement>

public abstract class StructureElement
extends Object
implements Comparable<StructureElement>

This class serves as a super class for all classes that are part of the dependency structure resp. that each form a node of the dependency graph. Methods are provided to build up and access the dependency structure. Instances of this class can be automatically sorted by their cause rating.

Author:
Nina

Method Summary
 int compareTo(StructureElement other)
          Compares two StructureElement objects by their causeRating.
 double getAnomalyRating()
           
 double getCauseRating()
           
abstract  String getName()
          Fetches the name of this element.
 double getPercent()
           
abstract  String getShortName()
          Fetches a short name of this element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public abstract String getName()
Fetches the name of this element.

Returns:
name of this element

getShortName

public abstract String getShortName()
Fetches a short name of this element. Some parts may be cut off.

Returns:
short version of the name of this element

getAnomalyRating

public double getAnomalyRating()

getCauseRating

public double getCauseRating()

getPercent

public double getPercent()

compareTo

public int compareTo(StructureElement other)
Compares two StructureElement objects by their causeRating.

Specified by:
compareTo in interface Comparable<StructureElement>
Parameters:
other - the StructureElement to be compared.
Returns:
1 if this' causeRating greater than other's; -1 else. 0 is returned if both have same causeRating.

Kieker 1.2

Copyright 2010 the Kieker Project, http://kieker.sourceforge.net