de.cau.cs.kieler.sim.kiem.automated.data
Class IterationResult

java.lang.Object
  extended by de.cau.cs.kieler.sim.kiem.automated.data.AbstractResult
      extended by de.cau.cs.kieler.sim.kiem.automated.data.IterationResult

public class IterationResult
extends AbstractResult

This class contains the result of one iteration. It contains at least the following information:
The name of the model file
The index of the iteration
The step number on which the execution finished

Rating proposed yellow
(2010-01-29)

Field Summary
static String MESSAGE
          Identifier for the message field.
 
Fields inherited from class de.cau.cs.kieler.sim.kiem.automated.data.AbstractResult
STATUS
 
Constructor Summary
IterationResult(String modelFile, int iteration)
          Creates a new IterationResult.
 
Method Summary
 ResultStatus getStatus()
          Getter for the status.
 void setMessage(String message)
          Set the message on the result.
 void setStatus(ResultStatus statusParam)
          Setter for the status.
 
Methods inherited from class de.cau.cs.kieler.sim.kiem.automated.data.AbstractResult
addChild, addResult, getChildren, getResults, setResults, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE

public static final String MESSAGE
Identifier for the message field.

See Also:
Constant Field Values
Constructor Detail

IterationResult

public IterationResult(String modelFile,
                       int iteration)
Creates a new IterationResult.

Parameters:
modelFile - the model file.
iteration - the index of the execution;
Method Detail

getStatus

public ResultStatus getStatus()
Getter for the status.

Returns:
the status

setStatus

public void setStatus(ResultStatus statusParam)
Setter for the status.

Parameters:
statusParam - the status to set

setMessage

public void setMessage(String message)
Set the message on the result.

Parameters:
message - the message