org.opentox.algorithm.trainer
Class CallableTrainer

java.lang.Object
  extended by org.opentox.error.ErrorSource
      extended by org.opentox.algorithm.trainer.CallableTrainer
All Implemented Interfaces:
java.util.concurrent.Callable<org.restlet.representation.Representation>, IProne2Error

public class CallableTrainer
extends ErrorSource
implements java.util.concurrent.Callable<org.restlet.representation.Representation>

Author:
chung

Field Summary
private  AbstractTrainer trainer
           
 
Fields inherited from class org.opentox.error.ErrorSource
errorRep
 
Constructor Summary
CallableTrainer(AbstractTrainer trainer)
           
 
Method Summary
 org.restlet.representation.Representation call()
           
 
Methods inherited from class org.opentox.error.ErrorSource
getErrorRep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trainer

private AbstractTrainer trainer
Constructor Detail

CallableTrainer

public CallableTrainer(AbstractTrainer trainer)
Method Detail

call

public org.restlet.representation.Representation call()
                                               throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<org.restlet.representation.Representation>
Returns:
Throws:
java.lang.Exception