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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAll execution states.
- 
Method SummaryModifier and TypeMethodDescriptionGets the name of the class associated with the agent.Gets the last execution 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.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Method Details- 
getNameString getName()Gets the name of the agent.- Returns:
- a String object.
 
- 
getClassNameString getClassName()Gets the name of the class associated with the agent.- Returns:
- a String object.
 
- 
getLastExecutionStatusint getLastExecutionStatus()Gets last result status- Returns:
- the last execution status, one of
                                        ExecutionStatus.NEVER_RUNorExecutionStatus.RUNNINGorExecutionStatus.SUCCESSorExecutionStatus.WARNINGorExecutionStatus.FAILURE
 
- 
getLastExecutionDateDate getLastExecutionDate()Gets the last execution date of the agent.- Returns:
- the last execution date.
 
- 
getLastReportbyte[] getLastReport()Gets the last report of the agent- Returns:
- the last report as an array of bytes.
 
- 
getLastSuccessDateDate getLastSuccessDate()Gets the date of the last success of the agent.- Returns:
- the last success date.
 
- 
getLastFailureDateDate getLastFailureDate()Gets the date of the last failure of the agent.- Returns:
- the last failure date.
 
 
-