Package weka.experiment
Class RemoteExperimentSubTask
- java.lang.Object
-
- weka.experiment.RemoteExperimentSubTask
-
- All Implemented Interfaces:
java.io.Serializable
,RevisionHandler
,Task
public class RemoteExperimentSubTask extends java.lang.Object implements Task, RevisionHandler
Class to encapsulate an experiment as a task that can be executed on a remote host.- Version:
- $Revision: 1.10 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteExperimentSubTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Run the experimentExperiment
getExperiment()
Get the experiment for this sub taskjava.lang.String
getRevision()
Returns the revision string.TaskStatusInfo
getTaskStatus()
Clients should be able to call this method at any time to obtain information on a current task.void
setExperiment(Experiment task)
Set the experiment for this sub task
-
-
-
Method Detail
-
setExperiment
public void setExperiment(Experiment task)
Set the experiment for this sub task- Parameters:
task
- the experiment
-
getExperiment
public Experiment getExperiment()
Get the experiment for this sub task- Returns:
- this sub task's experiment
-
getTaskStatus
public TaskStatusInfo getTaskStatus()
Description copied from interface:Task
Clients should be able to call this method at any time to obtain information on a current task.- Specified by:
getTaskStatus
in interfaceTask
- Returns:
- a TaskStatusInfo object holding info and result (if available) for this task
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Returns:
- the revision
-
-