public class SignatureCheck
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_EASE_UI_SCRIPTS_ID |
Constructor and Description |
---|
SignatureCheck() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canExecute(ScriptType scriptType,
java.io.InputStream inputStream,
boolean remote)
Use result of this method directly to know whether to run remote/local scripts.
|
public static final java.lang.String PLUGIN_EASE_UI_SCRIPTS_ID
public static boolean canExecute(ScriptType scriptType, java.io.InputStream inputStream, boolean remote)
scriptType
- instance of ScriptType
inputStream
- 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