Package org.eclipse.ease.sign
Class SignatureCheck
java.lang.Object
org.eclipse.ease.sign.SignatureCheck
public class SignatureCheck extends Object
-
Field Summary
Fields Modifier and Type Field Description static String
PLUGIN_EASE_UI_SCRIPTS_ID
-
Constructor Summary
Constructors Constructor Description SignatureCheck()
-
Method Summary
Modifier and Type Method Description static boolean
canExecute(ScriptType scriptType, InputStream inputStream, boolean remote)
Use result of this method directly to know whether to run remote/local scripts.
-
Field Details
-
PLUGIN_EASE_UI_SCRIPTS_ID
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SignatureCheck
public SignatureCheck()
-
-
Method Details
-
canExecute
Use result of this method directly to know whether to run remote/local scripts.- Parameters:
scriptType
- instance ofScriptType
inputStream
- InputStream of data file which contain appended signatureremote
-true
if file to be executed is a remote file orfalse
if file is on local system- Returns:
true
if script file can be executed orfalse
otherwise
-