plugin
Methods
run
run(
pJarURL,pClassName,pArguments):any[]
Runs a plugin on the server. A plugin is a Java class or a small, custom Java program that can be integrated into ADITO.
To execute a plugin on the client, use the swing.doClient* command.
For comprehensive information on ADITO plugins, please refer to the ADITO information document (AID) 4.
Parameters
string | number | booleanThe URL of the .jar file where the plugin resides. The file can be found in the class path of the server.
string | number | booleanClass name of the plugin, including the complete package details (de.adito.plugins.awesomenessReloaded).
any[]The arguments to be passed to the plugin.
Returns
any[]The results returned by the plugin.
Throws
May throw an exception.
Example
var pluginRet = plugin.run("file:///c:/plugins/awesome.jar", "de.adito.plugins.awesomenessReloaded", ["End", "21.12.2018"]);
runWithAlias
runWithAlias(
pAliasName,pClassName,pArguments):any[]
Runs a plugin on the remote service specified by the given alias.
If the Alias is not found, adito tries to search for the plugin on the class path.
A plugin is a Java class or a small, custom Java program that can be integrated into ADITO.
For comprehensive information on ADITO plugins, please refer to the ADITO information document (AID) 4.
Parameters
string | number | booleanThe name of the plugin alias, at which the call is delegated.
string | number | booleanClass name of the plugin, including the complete package details (de.adito.plugins.awesomenessReloaded).
any[]The arguments to be passed to the plugin.
Returns
any[]The results returned by the plugin.
Throws
May throw an exception.
Example
var pluginRet = plugin.runWithAlias("AwesomePluginAlias", "de.adito.plugins.awesomenessReloaded", ["End", "21.12.2018"]);