Package com.axemble.vdoc.sdk.agent.base
Class BaseAgent
java.lang.Object
com.axemble.vdoc.sdk.agent.base.BaseAgent
Deprecated.
This base class provides direct access to the SDK API.
It allows creating agents which can be scheduled through the Agent administration user interface.
The following methods are available:
- getWorkflowModule() : the module to manipulate the workflow system;
- Version:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
execute()
Deprecated.protected final IAgent
getAgent()
Deprecated.Allows to retrieve the current agent.protected final Element
Deprecated.Allows to retrieve the configuration of the current agent.protected final IDirectoryModule
Deprecated.Gets the directory module object.protected final Date
Deprecated.protected final IPortalModule
Deprecated.Gets the portal module object.protected final IProjectModule
Deprecated.Gets the project module object.protected final IReport
Deprecated.protected final IWorkflowModule
Deprecated.Gets the workflow module object.protected final void
printDebug
(String message) Deprecated.Print debug message into the agent administration report tabprotected final void
printError
(String message) Deprecated.Print error message into the agent administration report tabprotected final void
Deprecated.Print information message into the report page of the agent administration tabprotected final void
Deprecated.Print an empty line into the agent administration report tabprotected final void
Deprecated.Print a separator into the agent administration report tabprotected final void
printSuccess
(String message) Deprecated.use printInfo method insteadprotected final void
printWarning
(String message) Deprecated.Print warning message into the agent administration report tabfinal void
runAgent
(com.axemble.vdp.utils.ReportCollector reportCollector, com.axemble.vdoc.agent.domain.Agent agent) Deprecated.
-
Field Details
-
LOGGER
Deprecated.
-
-
Constructor Details
-
BaseAgent
public BaseAgent()Deprecated.
-
-
Method Details
-
runAgent
public final void runAgent(com.axemble.vdp.utils.ReportCollector reportCollector, com.axemble.vdoc.agent.domain.Agent agent) Deprecated. -
execute
protected abstract void execute()Deprecated. -
getPortalModule
Deprecated.Gets the portal module object.- Returns:
- A
IPortalModule
object.
-
getDirectoryModule
Deprecated.Gets the directory module object.- Returns:
- A
IDirectoryModule
object.
-
getProjectModule
Deprecated.Gets the project module object.- Returns:
- A
IProjectModule
object.
-
getWorkflowModule
Deprecated.Gets the workflow module object.- Returns:
- A
IWorkflowModule
object.
-
getConfiguration
Deprecated.Allows to retrieve the configuration of the current agent.- Returns:
- The org.w3c.dom.Element of the current agent.
-
getAgent
Deprecated.Allows to retrieve the current agent.- Returns:
- An
IAgent
object.
-
printInfo
Deprecated.Print information message into the report page of the agent administration tab- Parameters:
message
- The message to print
-
printError
Deprecated.Print error message into the agent administration report tab- Parameters:
message
- The message to print
-
printWarning
Deprecated.Print warning message into the agent administration report tab- Parameters:
message
- The message to print
-
printSuccess
Deprecated.use printInfo method insteadPrint success message into the agent administration report tab- Parameters:
message
- The message to print
-
printSeparator
protected final void printSeparator()Deprecated.Print a separator into the agent administration report tab -
printLine
protected final void printLine()Deprecated.Print an empty line into the agent administration report tab -
printDebug
Deprecated.Print debug message into the agent administration report tab- Parameters:
message
- The message to print
-
getReport
Deprecated.- Returns:
- this agent report collector
-
getLastRunDate
Deprecated.- Returns:
- last time this agent was executed
-
IAgentProcessing
orIStoppableAgentProcessing