public interface ISecurityCheck
Modifier and Type | Interface and Description |
---|---|
static class |
ISecurityCheck.ActionType |
Modifier and Type | Method and Description |
---|---|
boolean |
doIt(ISecurityCheck.ActionType action,
java.lang.Object... data)
Verification to be performed before a certain engine action is executed.
|
boolean doIt(ISecurityCheck.ActionType action, java.lang.Object... data) throws java.lang.SecurityException
For following parameters are provided:
data[0] ... Script
instance
data[1] ... boolean indicator if script should be run in the UI thread
false
is returned the action will be silently skipped if possible. On SecurityException
s the exception message will be provided
as user feedback.action
- type of action to be performeddata
- optional data assigned to that actiontrue
when action can be performedjava.lang.SecurityException
- to provide a dedicated error message to the user