public interface ScriptLibraryManager
| Modifier and Type | Method and Description |
|---|---|
void |
deleteScript(long scriptId)
Delete script from library
|
Script |
getScript(long scriptId)
Get script from library
|
List<Script> |
getScriptLibrary()
Get list of all scripts in script library.
|
long |
modifyScript(long scriptId,
String name,
String source)
Modify script.
|
void |
renameScript(long scriptId,
String name)
Rename script in script library.
|
List<Script> getScriptLibrary() throws IOException, NetXMSClientException
IOException - if socket or file I/O error occursNXCException - if NetXMS server returns an error or operation was timed outNetXMSClientExceptionScript getScript(long scriptId) throws IOException, NetXMSClientException
scriptId - script IDIOException - if socket or file I/O error occursNXCException - if NetXMS server returns an error or operation was timed outNetXMSClientExceptionlong modifyScript(long scriptId,
String name,
String source)
throws IOException,
NetXMSClientException
scriptId - script IDname - script namesource - script source codeIOException - if socket or file I/O error occursNXCException - if NetXMS server returns an error or operation was timed outNetXMSClientExceptionvoid renameScript(long scriptId,
String name)
throws IOException,
NetXMSClientException
scriptId - script IDname - new script nameIOException - if socket or file I/O error occursNXCException - if NetXMS server returns an error or operation was timed outNetXMSClientExceptionvoid deleteScript(long scriptId)
throws IOException,
NetXMSClientException
scriptId - script IDIOException - if socket or file I/O error occursNXCException - if NetXMS server returns an error or operation was timed outNetXMSClientExceptionCopyright © 2015. All rights reserved.