uk.ac.essex.ia.opview.runtime
Class ExecutionContext

java.lang.Object
  extended by uk.ac.essex.ia.opview.runtime.ExecutionContext
All Implemented Interfaces:
IExecutionContext

public class ExecutionContext
extends java.lang.Object
implements IExecutionContext

A wrapper around the executing operation graph. This wraps the file and a list of results.

You should have received a copy of GNU public license with this code. If not please visit this site


Constructor Summary
ExecutionContext()
           
 
Method Summary
 void addResult(ExecutionResult result)
           
 java.io.File getOperationFile()
           
 java.util.List<ExecutionResult> getResults()
           
 void setOperationFile(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContext

public ExecutionContext()
Method Detail

getOperationFile

public java.io.File getOperationFile()
Specified by:
getOperationFile in interface IExecutionContext
Returns:
File - The currently executing operation file location, or null if the operation is not saved.

setOperationFile

public void setOperationFile(java.io.File file)
Specified by:
setOperationFile in interface IExecutionContext
Parameters:
file - - The operation file.

addResult

public void addResult(ExecutionResult result)
Specified by:
addResult in interface IExecutionContext

getResults

public java.util.List<ExecutionResult> getResults()
Specified by:
getResults in interface IExecutionContext