Style Intelligence v12.0

inetsoft.sree.schedule
Class TaskActivity

java.lang.Object
  extended by inetsoft.sree.schedule.TaskActivity

public class TaskActivity
extends Object

This class holds the schedule task status.


Constructor Summary
TaskActivity(String taskname)
          Create a task status object.
 
Method Summary
 String getCleanMessage()
          Get a non-null message string.
 String getError()
          Gets the error message, if any.
 String getFormattedLastRunEnd()
          Get a string representation of last execution ending time.
 String getFormattedLastRunStart()
          Get a string representation of last execution start time.
 String getFormattedNextRunStart()
          Get a string representation of next execution start time.
 long getLastRunEnd()
          Get the last execution end time.
 long getLastRunStart()
          Get the last execution starting time.
 String getLastRunStatus()
          Get the last execution status.
 String getMessage()
          Get the status message.
 long getNextRunStart()
          Get the next execution start time.
 String getNextRunStatus()
          Get the next execution status.
 String getTaskName()
          Get task name.
 void setError(String error)
          Sets the error message, if any.
 void setLastRunEnd(long end)
          Set the last execution end time.
 void setLastRunStart(long start)
          Set the last execution start time.
 void setLastRunStatus(String status)
          Set the last execution status.
 void setMessage(String msg)
          Set the task status message.
 void setNextRunStart(long start)
          Set the next execution start time.
 void setNextRunStatus(String status)
          Set the next execution status.
 void setTaskName(String taskname)
          Set the task name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskActivity

public TaskActivity(String taskname)
Create a task status object.

Method Detail

getTaskName

public String getTaskName()
Get task name.


getLastRunStatus

public String getLastRunStatus()
Get the last execution status.


getLastRunStart

public long getLastRunStart()
Get the last execution starting time.


getFormattedLastRunStart

public String getFormattedLastRunStart()
Get a string representation of last execution start time.


getLastRunEnd

public long getLastRunEnd()
Get the last execution end time.


getFormattedLastRunEnd

public String getFormattedLastRunEnd()
Get a string representation of last execution ending time.


getNextRunStatus

public String getNextRunStatus()
Get the next execution status.


getNextRunStart

public long getNextRunStart()
Get the next execution start time.


getFormattedNextRunStart

public String getFormattedNextRunStart()
Get a string representation of next execution start time.


getMessage

public String getMessage()
Get the status message.


getCleanMessage

public String getCleanMessage()
Get a non-null message string.


setTaskName

public void setTaskName(String taskname)
Set the task name.


setLastRunStatus

public void setLastRunStatus(String status)
Set the last execution status.


setLastRunStart

public void setLastRunStart(long start)
Set the last execution start time.


setLastRunEnd

public void setLastRunEnd(long end)
Set the last execution end time.


setNextRunStatus

public void setNextRunStatus(String status)
Set the next execution status.


setNextRunStart

public void setNextRunStart(long start)
Set the next execution start time.


setMessage

public void setMessage(String msg)
Set the task status message.


getError

public String getError()
Gets the error message, if any.

Returns:
the error message.

setError

public void setError(String error)
Sets the error message, if any.

Parameters:
error - the error message.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.