|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteJavascriptAction
Job action to execute a JavaScript method in a SSJS library while a job
is running or when it is done.
To pass data between the Job code and the action, the API creates a temporary
context Notes document. The document is shared between the job and the JavaScript
method invocation and accessible via the global context
variable.
This is the complete list of available global Javascript variables during
the method invocation:
session - active Notes session
database - database containing the SSJS library
eclipseconnection - connection instance to call remote API Eclipse methods
context - temporary document to share Job results and progress
Method Summary | |
---|---|
java.lang.String |
getDbPath()
Filepath of agent's database |
java.lang.String |
getDescription()
Optional description text for the progress dialog of the agent |
java.lang.String |
getMethodName()
Name of JavaScript method to be called |
java.lang.String |
getServer()
Server of agent's database |
java.lang.String |
getSSJSLibName()
Name of SSJS library |
Method Detail |
---|
java.lang.String getServer() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getDbPath() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getSSJSLibName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getMethodName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getDescription() throws RemoteEclipseAPIException
null
to use the default text ("OK")
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |