程序包 weka.experiment

类 TaskStatusInfo

java.lang.Object
weka.experiment.TaskStatusInfo
所有已实现的接口:
Serializable, RevisionHandler

public class TaskStatusInfo extends Object implements 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.
版本:
$Revision: 1.5 $
作者:
Mark Hall
另请参阅:
  • 字段详细资料

  • 构造器详细资料

    • 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

      public void setStatusMessage(String newMessage)
      Set the status message.
      参数:
      newMessage - the new status message
    • getStatusMessage

      public String getStatusMessage()
      Get the status message.
      返回:
      the status message
    • setTaskResult

      public void setTaskResult(Object taskResult)
      Set the returnable result for this task..
      参数:
      taskResult - the new returnable result for the task. null if no result is returnable.
    • getTaskResult

      public Object 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

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision