cz.cuni.amis.pogamut.ut2004.navigation.evaluator
Class EvaluatorHandle

Package class diagram package EvaluatorHandle
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.navigation.evaluator.EvaluatorHandle

public class EvaluatorHandle
extends Object

Handle for SingleTaskEvaluator. Runs SingleTaskEvaluator in new JVM.

Author:
Bogo

Nested Class Summary
static class EvaluatorHandle.Status
          Status of handle.
 
Constructor Summary
EvaluatorHandle()
           
 
Method Summary
 boolean createEvaluator(File task, Logger log, boolean isResume, String label)
          Creates new JVM and starts SingleTaskEvaluator in it.
 EvaluatorHandle.Status getStatus()
          Gets status of the execution.
 File getTask()
          Returns file with XML representation of assigned evaluation task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatorHandle

public EvaluatorHandle()
Method Detail

getTask

public File getTask()
Returns file with XML representation of assigned evaluation task.

Returns:

createEvaluator

public boolean createEvaluator(File task,
                               Logger log,
                               boolean isResume,
                               String label)
Creates new JVM and starts SingleTaskEvaluator in it.

Parameters:
task -
log -
isResume -
label -
Returns:

getStatus

public EvaluatorHandle.Status getStatus()
Gets status of the execution.

Returns:


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.