@Deprecated public abstract class BaseAgent extends Object
IWorkflowModule
Constructor and Description |
---|
BaseAgent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
execute()
Deprecated.
|
protected IAgent |
getAgent()
Deprecated.
Allows to retrieve the current agent.
|
protected Element |
getConfiguration()
Deprecated.
Allows to retrieve the configuration of the current agent.
|
protected IDirectoryModule |
getDirectoryModule()
Deprecated.
Gets the directory module object.
|
protected Date |
getLastRunDate()
Deprecated.
|
protected IPortalModule |
getPortalModule()
Deprecated.
Gets the portal module object.
|
protected IProjectModule |
getProjectModule()
Deprecated.
Gets the project module object.
|
protected IReport |
getReport()
Deprecated.
|
protected IWorkflowModule |
getWorkflowModule()
Deprecated.
Gets the workflow module object.
|
protected void |
printDebug(String message)
Deprecated.
Print debug message into the agent administration report tab
|
protected void |
printError(String message)
Deprecated.
Print error message into the agent administration report tab
|
protected void |
printInfo(String message)
Deprecated.
Print information message into the report page of the agent administration tab
|
protected void |
printLine()
Deprecated.
Print an empty line into the agent administration report tab
|
protected void |
printSeparator()
Deprecated.
Print a separator into the agent administration report tab
|
protected void |
printSuccess(String message)
Deprecated.
use printInfo method instead
|
protected void |
printWarning(String message)
Deprecated.
Print warning message into the agent administration report tab
|
void |
runAgent(com.axemble.vdp.utils.ReportCollector reportCollector,
com.axemble.vdoc.agent.domain.Agent agent)
Deprecated.
|
protected final Logger LOGGER
public final void runAgent(com.axemble.vdp.utils.ReportCollector reportCollector, com.axemble.vdoc.agent.domain.Agent agent)
protected abstract void execute()
protected final IPortalModule getPortalModule()
IPortalModule
object.protected final IDirectoryModule getDirectoryModule()
IDirectoryModule
object.protected final IProjectModule getProjectModule()
IProjectModule
object.protected final IWorkflowModule getWorkflowModule()
IWorkflowModule
object.protected final Element getConfiguration()
protected final IAgent getAgent()
IAgent
object.protected final void printInfo(String message)
message
- The message to printprotected final void printError(String message)
message
- The message to printprotected final void printWarning(String message)
message
- The message to print@Deprecated protected final void printSuccess(String message)
message
- The message to printprotected final void printSeparator()
protected final void printLine()
protected final void printDebug(String message)
message
- The message to printprotected final IReport getReport()
protected final Date getLastRunDate()
Copyright © 2022 Visiativ. All rights reserved.