com.sodius.mdw.core.eval.debug
Interface DebugHierarchy


public interface DebugHierarchy

A debug hierarchy is a tree of nodes, each node representing an evaluated element (template, rule or script).

This interface is not intended to be implemented by clients.

See Also:
EvaluationManager.loadDebugHierarchy(File), EvaluationResult.getDebugHierarchy()

Method Summary
 String getName()
          Returns the debug hierarchy name, which is the name of the launch configuration.
 ProjectReference getProject()
          Returns a description of the evaluated project.
 List<DebugNode> getRootNodes()
          Returns the top-level evaluated nodes.
 void save(File file)
          Saves this debug hierarchy to the specified file.
 

Method Detail

getName

String getName()
Returns the debug hierarchy name, which is the name of the launch configuration.

Returns:
the debug hierarchy name

getProject

ProjectReference getProject()
Returns a description of the evaluated project.

Returns:
a description of the evaluated project.

getRootNodes

List<DebugNode> getRootNodes()
Returns the top-level evaluated nodes.

Returns:
an unmodifiable list of DebugNode elements.
See Also:
DebugNode

save

void save(File file)
          throws CoreException
Saves this debug hierarchy to the specified file.

Parameters:
file - the location where to save this hierarchy.
Throws:
CoreException - if the hierarchy could not be saved.