public interface ScriptingService extends ScriptingInvocationService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
registerScript(java.lang.String name,
Condition condition,
Executable executable) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
registerScript(java.lang.String name,
Condition condition,
Executable executable,
boolean allowAnonymousUser,
boolean allowAnonymousApp)
Let the vault owner register a script on his vault for a given application.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
registerScript(java.lang.String name,
Executable executable) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
registerScript(java.lang.String name,
Executable executable,
boolean allowAnonymousUser,
boolean allowAnonymousApp)
Lets the vault owner register a script on his vault for a given application.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
unregisterScript(java.lang.String name)
Let the vault owner unregister a script when the script become useless to
applications.
|
callScript, downloadFile, downloadFileByHiveUrl, uploadFilejava.util.concurrent.CompletableFuture<java.lang.Void> registerScript(java.lang.String name,
Executable executable)
java.util.concurrent.CompletableFuture<java.lang.Void> registerScript(java.lang.String name,
Condition condition,
Executable executable)
java.util.concurrent.CompletableFuture<java.lang.Void> registerScript(java.lang.String name,
Executable executable,
boolean allowAnonymousUser,
boolean allowAnonymousApp)
name - the name of script to registerexecutable - the executable body of the script with preset routinesallowAnonymousUser - whether allows anonymous user.allowAnonymousApp - whether allows anonymous application.java.util.concurrent.CompletableFuture<java.lang.Void> registerScript(java.lang.String name,
Condition condition,
Executable executable,
boolean allowAnonymousUser,
boolean allowAnonymousApp)
name - the name of script to registercondition - the condition on which the script could be executed.executable - the executable body of the script with preset routinesallowAnonymousUser - whether allows anonymous user.allowAnonymousApp - whether allows anonymous application.java.util.concurrent.CompletableFuture<java.lang.Void> unregisterScript(java.lang.String name)
name - the name of script to unregister.