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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecute()Deprecated.protected final IAgentgetAgent()Deprecated.Allows to retrieve the current agent.protected final ElementDeprecated.Allows to retrieve the configuration of the current agent.protected final IDirectoryModuleDeprecated.Gets the directory module object.protected final DateDeprecated.protected final IPortalModuleDeprecated.Gets the portal module object.protected final IProjectModuleDeprecated.Gets the project module object.protected final IReportDeprecated.protected final IWorkflowModuleDeprecated.Gets the workflow module object.protected final voidprintDebug(String message) Deprecated.Print debug message into the agent administration report tabprotected final voidprintError(String message) Deprecated.Print error message into the agent administration report tabprotected final voidDeprecated.Print information message into the report page of the agent administration tabprotected final voidDeprecated.Print an empty line into the agent administration report tabprotected final voidDeprecated.Print a separator into the agent administration report tabprotected final voidprintSuccess(String message) Deprecated.use printInfo method insteadprotected final voidprintWarning(String message) Deprecated.Print warning message into the agent administration report tabfinal voidrunAgent(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
IPortalModuleobject.
-
getDirectoryModule
Deprecated.Gets the directory module object.- Returns:
- A
IDirectoryModuleobject.
-
getProjectModule
Deprecated.Gets the project module object.- Returns:
- A
IProjectModuleobject.
-
getWorkflowModule
Deprecated.Gets the workflow module object.- Returns:
- A
IWorkflowModuleobject.
-
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
IAgentobject.
-
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
-
IAgentProcessingorIStoppableAgentProcessing