Interface IAgent

All Superinterfaces:
IElement, IProtocolSupport, ISecuritySupport, Serializable

public interface IAgent extends IElement, ISecuritySupport
This class allows to manipulate scheduled tasks.
Since:
1.0, 24/03/2009
Author:
vlygeros
See Also:
  • Method Details

    • getName

      String getName()
      Gets the name of the agent.
      Returns:
      a String object.
    • getCategoryName

      String getCategoryName()
      Gets the category name of the agent.
      Returns:
      a String object.
    • getClassName

      String getClassName()
      Gets the name of the class associated with the agent.
      Returns:
      a String object.
    • getLastExecutionStatus

      int getLastExecutionStatus()
      Gets last result status
      Returns:
      the last execution status, one of ExecutionStatus.NEVER_RUN or ExecutionStatus.RUNNING or ExecutionStatus.SUCCESS or ExecutionStatus.WARNING or ExecutionStatus.FAILURE
    • getLastExecutionDate

      Date getLastExecutionDate()
      Gets the last execution start date of the agent.
      Returns:
      the last execution start date.
    • getLastReport

      byte[] getLastReport()
      Gets the last report of the agent
      Returns:
      the last report as an array of bytes.
    • getLastSuccessDate

      Date getLastSuccessDate()
      Gets the date of the last success of the agent.
      Returns:
      the last success start date.
    • getLastFailureDate

      Date getLastFailureDate()
      Gets the date of the last failure of the agent.
      Returns:
      the last failure start date.
    • getLastExecutionEndDate

      Date getLastExecutionEndDate()
      Gets the last execution end date of the agent.
      Returns:
      the last execution end date.