fr.jussieu.gla.wasa.monitor.model
Class RunNode

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.monitor.model.Node
        |
        +--fr.jussieu.gla.wasa.monitor.model.RunNode
All Implemented Interfaces:
IExecutableNode, javax.swing.tree.TreeNode

public class RunNode
extends Node
implements IExecutableNode

Represents a Run, as a list of StepNodes.

Version:
$Revision: 1.11 $ $Date: 2002/04/04 15:57:32 $
Author:
Florent Selva, Laurent Caillette

Constructor Summary
RunNode(EngineNode parent)
           
RunNode(EngineNode parent, Engine engine)
           
 
Method Summary
 void adopt(StepNode stepNode)
           
 void execute()
           
 Engine getEngine()
           
 EngineNode getEngineNodeParent()
           
 int getFirstSolutionFoundStep()
           
 javax.swing.tree.TreeNode getParent()
           
 int getRandomCount()
           
 java.util.Date getRunDate()
           
 int getSolutionFoundCount()
           
 StepNode getStepNode(int index)
           
 int getStepNodeCount()
           
 boolean isLive()
           
 boolean isSolutionFound()
           
 void setRunDate(java.util.Date runDate)
           
 java.lang.String toString()
           
 
Methods inherited from class fr.jussieu.gla.wasa.monitor.model.Node
addChild, children, clearAllChildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getProblemNode, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunNode

public RunNode(EngineNode parent)

RunNode

public RunNode(EngineNode parent,
               Engine engine)
Method Detail

getEngineNodeParent

public EngineNode getEngineNodeParent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getEngine

public Engine getEngine()

isLive

public boolean isLive()
Specified by:
isLive in interface IExecutableNode

execute

public void execute()
             throws EngineException,
                    java.lang.CloneNotSupportedException

getStepNodeCount

public int getStepNodeCount()

getStepNode

public StepNode getStepNode(int index)

adopt

public void adopt(StepNode stepNode)

getParent

public javax.swing.tree.TreeNode getParent()

getRandomCount

public int getRandomCount()

getSolutionFoundCount

public int getSolutionFoundCount()

getFirstSolutionFoundStep

public int getFirstSolutionFoundStep()

isSolutionFound

public boolean isSolutionFound()

setRunDate

public void setRunDate(java.util.Date runDate)

getRunDate

public java.util.Date getRunDate()