Package com.axemble.vdoc.sdk.interfaces
Interface IAgentProcessingContext
public interface IAgentProcessingContext
Interface of the agent processing context
 This object carries the information related to the execution context of the 
IAgentProcessing
 The following methods are available to gets module object:
 - getPortalModule() : the module to manipulate the portal system;
 - getDirectoryModule() : the module to manipulate the directory system;
 - getProjectModule() : the module to manipulate the project system;
 - getWorkflowModule() : the module to manipulate the workflow system;
 The following methods are available to manipulate the agent:
 - getConfiguration()
 - getAgent()
 - getLastRunDate()
 - isAbortSignalReceived() IStoppableAgentProcessing
 The following methods are available to manipulate the report:
 - getReport()
 - printSeparator()
 - printLine()- 
Method SummaryModifier and TypeMethodDescriptiongetAgent()Allows to retrieve the current agent.Allows to retrieve the configuration of the current agent.Gets the directory module object.Gets the portal module object.Gets the project module object.Gets the workflow module object.booleanIndicates if the agent received an abort signal or notvoidPrint an empty line into the agent administration report tabvoidPrint a separator into the agent administration report tab
- 
Method Details- 
getPortalModuleIBasePortalModule getPortalModule()Gets the portal module object.- Returns:
- A IBasePortalModuleobject.
 
- 
getDirectoryModuleIBaseDirectoryModule getDirectoryModule()Gets the directory module object.- Returns:
- A IBaseDirectoryModuleobject.
 
- 
getProjectModuleIProjectModule getProjectModule()Gets the project module object.- Returns:
- A IProjectModuleobject.
 
- 
getWorkflowModuleIBaseWorkflowModule getWorkflowModule()Gets the workflow module object.- Returns:
- A IBaseWorkflowModuleobject.
 
- 
getConfigurationElement getConfiguration()Allows to retrieve the configuration of the current agent.- Returns:
- The org.w3c.dom.Element of the current agent.
 
- 
getAgentIAgent getAgent()Allows to retrieve the current agent.- Returns:
- An IAgentobject.
 
- 
printSeparatorvoid printSeparator()Print a separator into the agent administration report tab
- 
printLinevoid printLine()Print an empty line into the agent administration report tab
- 
getReportIReport getReport()- Returns:
- this agent report collector
 
- 
getLastRunDateDate getLastRunDate()- Returns:
- last time this agent was executed
 
- 
isAbortSignalReceivedboolean isAbortSignalReceived()Indicates if the agent received an abort signal or not- Returns:
- true if agent received an abort signal, otherwise false
 
 
-