Package | Description |
---|---|
com.hcl.domino.data |
Modifier and Type | Method and Description |
---|---|
Agent.AgentRunContext |
Agent.createAgentContext()
Initializes the AgentRunContext in which the agent should run, for defining
settings like re-opening the database as the signer, which document the agent
should run on, timeouts etc.
|
Agent.AgentRunContext |
Agent.AgentRunContext.setCheckSecurity(boolean checkSecurity)
Use this method to set the AGENT_SECURITY_ON flag:
AGENT_SECURITY_ON: Use this flag to tell the run context that when it runs an agent, you want it to check the privileges of the signer of that agent and apply them. |
Agent.AgentRunContext |
Agent.AgentRunContext.setDocumentContext(Document doc)
|
Agent.AgentRunContext |
Agent.AgentRunContext.setOutputWriter(Writer writer)
If this method is used to set an output writer, we will collect the agent
output produced during execution (e.g.
|
Agent.AgentRunContext |
Agent.AgentRunContext.setParamDocId(int paramDocId)
Sets the note id for Session.ParameterDocId
|
Agent.AgentRunContext |
Agent.AgentRunContext.setReopenDbAsSigner(boolean reopenAsSigner)
Use this method to set the AGENT_REOPEN_DB flag:
AGENT_REOPEN_DB: If AGENT_REOPEN_DB is set, the AgentRun call will reopen the agent's database with the privileges of the signer of the agent. |
Agent.AgentRunContext |
Agent.AgentRunContext.setTimeoutSeconds(int timeoutSeconds)
Sets an execution timeout in seconds
|
Agent.AgentRunContext |
Agent.AgentRunContext.setUsername(String sessionEffectiveName)
Sets the Notes username e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
Agent.run(Agent.AgentRunContext runCtx)
Runs the agent with the specific agent context
|
Copyright © 2019–2021 HCL. All rights reserved.