Package com.axemble.vdoc.sdk.interfaces
Interface IAgent
- All Superinterfaces:
IElement,IProtocolSupport,ISecuritySupport,Serializable
This class allows to manipulate scheduled tasks.
- Since:
- 1.0, 24/03/2009
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAll execution states. -
Method Summary
Modifier and TypeMethodDescriptionGets the category name of the agent.Gets the name of the class associated with the agent.Gets the last execution start date of the agent.Gets the last execution end date of the agent.intGets last result statusGets the date of the last failure of the agent.byte[]Gets the last report of the agentGets the date of the last success of the agent.getName()Gets the name of the agent.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
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_RUNorExecutionStatus.RUNNINGorExecutionStatus.SUCCESSorExecutionStatus.WARNINGorExecutionStatus.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.
-