javax.datamining
Interface ExecutionStatus


public interface ExecutionStatus

An ExecutionStatus instance contains a snapshot of task status.

Author:
JSR-73 Java Data Mining Expert Group

Method Summary
 boolean containsWarning()
          Returns true if there is a warning reported in this ExecutionStatus instance.
 java.lang.String getDescription()
          Returns a vendor-specific description of the task status.
 ExecutionState getState()
          Returns the ExecutionState of the task at a point in time.
 java.util.Date getTimestamp()
          Returns the timestamp of when a given ExecutionStatus instance was created.
 

Method Detail

containsWarning

public boolean containsWarning()
Returns true if there is a warning reported in this ExecutionStatus instance.

Returns:
boolean

getDescription

public java.lang.String getDescription()
Returns a vendor-specific description of the task status. It may include, e.g., the current iteration in the training of a neural network or warning text.

Returns:
String

getState

public ExecutionState getState()
Returns the ExecutionState of the task at a point in time. The state must not be null.

Returns:
ExecutionState

getTimestamp

public java.util.Date getTimestamp()
Returns the timestamp of when a given ExecutionStatus instance was created. The timestamp must not be Null.

Returns:
Date