public class SignatureCheck extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGIN_EASE_UI_SCRIPTS_ID |
| Constructor and Description |
|---|
SignatureCheck() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canExecute(ScriptType scriptType,
InputStream inputStream,
boolean remote)
Use result of this method directly to know whether to run remote/local scripts.
|
public static final String PLUGIN_EASE_UI_SCRIPTS_ID
public static boolean canExecute(ScriptType scriptType, InputStream inputStream, boolean remote)
scriptType - instance of ScriptTypeinputStream - InputStream of data file which contain appended signatureremote - true if file to be executed is a remote file or false if file is on local systemtrue if script file can be executed or false otherwise