public interface ISecurityCheck
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISecurityCheck.ActionType |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doIt(ISecurityCheck.ActionType action,
Object... data)
Verification to be performed before a certain engine action is executed.
|
boolean doIt(ISecurityCheck.ActionType action, Object... data) throws 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 SecurityExceptions 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 performedSecurityException - to provide a dedicated error message to the user