public class GroovyHandler extends Object implements AgentHandler
Constructor and Description |
---|
GroovyHandler(MaestroReceiverClient client) |
Modifier and Type | Method and Description |
---|---|
MaestroReceiverClient |
getClient() |
MaestroNote |
getMaestroNote() |
WorkerOptions |
getWorkerOptions() |
void |
runCallbacks()
Runs all the external point callbacks in an order that is implementation specific
|
void |
setContext(Map<String,Object> context)
Set of variables to be passed to the endpoint
|
void |
setInitialPath(File initialPath)
The root path for executing the external endpoint code
|
void |
setMaestroNote(MaestroNote maestroNote) |
void |
setWorkerOptions(WorkerOptions workerOptions) |
public GroovyHandler(MaestroReceiverClient client)
public void setContext(Map<String,Object> context)
AgentHandler
setContext
in interface AgentHandler
context
- variables as a mappublic void runCallbacks()
AgentHandler
runCallbacks
in interface AgentHandler
public void setInitialPath(File initialPath) throws Exception
AgentHandler
setInitialPath
in interface AgentHandler
initialPath
- the initial directoryException
- implementation specificpublic MaestroReceiverClient getClient()
public MaestroNote getMaestroNote()
public void setMaestroNote(MaestroNote maestroNote)
public WorkerOptions getWorkerOptions()
public void setWorkerOptions(WorkerOptions workerOptions)
This documentation was released into the public domain.