程序包 weka.experiment
类 TaskStatusInfo
java.lang.Object
weka.experiment.TaskStatusInfo
- 所有已实现的接口:
Serializable
,RevisionHandler
A class holding information for tasks being executed
on RemoteEngines. Also holds an object encapsulating any returnable result
produced by the task (Note: result object must be serializable). Task
objects execute methods return instances of this class. RemoteEngines also
use this class for storing progress information for tasks that they
execute.
-
字段概要
字段修饰符和类型字段说明static final int
static final int
static final int
static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
Get the execution status of this Task.Returns the revision string.Get the status message.Get the returnable result of this task.void
setExecutionStatus
(int newStatus) Set the execution status of this Task.void
setStatusMessage
(String newMessage) Set the status message.void
setTaskResult
(Object taskResult) Set the returnable result for this task..
-
字段详细资料
-
构造器详细资料
-
TaskStatusInfo
public TaskStatusInfo()
-
-
方法详细资料
-
setExecutionStatus
public void setExecutionStatus(int newStatus) Set the execution status of this Task.- 参数:
newStatus
- the new execution status code
-
getExecutionStatus
public int getExecutionStatus()Get the execution status of this Task.- 返回:
- the execution status
-
setStatusMessage
Set the status message.- 参数:
newMessage
- the new status message
-
getStatusMessage
Get the status message.- 返回:
- the status message
-
setTaskResult
Set the returnable result for this task..- 参数:
taskResult
- the new returnable result for the task. null if no result is returnable.
-
getTaskResult
Get the returnable result of this task.- 返回:
- an object encapsulating the result of executing the task. May be null if the task has no returnable result (eg. a remote experiment task that sends its results to a data base).
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-