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)
AgentHandlersetContext in interface AgentHandlercontext - variables as a mappublic void runCallbacks()
AgentHandlerrunCallbacks in interface AgentHandlerpublic void setInitialPath(File initialPath) throws Exception
AgentHandlersetInitialPath in interface AgentHandlerinitialPath - 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.