public interface IScript extends IRawLocation
The following features are supported:
IRepositoryPackage.getScript()
Modifier and Type | Method and Description |
---|---|
IScriptLocation |
getEntry()
Returns the value of the 'Entry' container reference.
|
java.util.Map<java.lang.String,java.lang.String> |
getKeywords()
Get all parameters stored for this script.
|
java.lang.String |
getName() |
IPath |
getPath() |
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> |
getScriptKeywords()
Returns the value of the 'Script Keywords' map.
|
java.lang.Boolean |
getSignatureState()
Gets the signature state since last update.
|
long |
getTimestamp()
Returns the value of the 'Timestamp' attribute.
|
ScriptType |
getType()
Get script type.
|
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> |
getUserKeywords()
Returns the value of the 'User Keywords' map.
|
boolean |
isRemote()
Verify if this is a remote script.
|
IScriptEngine |
prepareEngine()
Prepare a script engine ready to run.
|
void |
refreshScriptKeywords()
Parse the script source for keywords and replace cached keywords.
|
IScriptEngine |
run() |
IScriptEngine |
run(java.lang.String... parameters)
Run script with startup parameters.
|
void |
setEntry(IScriptLocation value)
Sets the value of the '
Entry ' container reference. |
void |
setTimestamp(long value)
Sets the value of the '
Timestamp ' attribute. |
void |
setUserKeyword(java.lang.String keyword,
java.lang.String value) |
void |
updateSignatureState()
Update signature state using the content of file.
|
getInputStream, getLocation, getResource, isUpdatePending, setLocation, setUpdatePending
long getTimestamp()
"-1"
.
If the meaning of the 'Timestamp' attribute isn't clear, there really should be more of a description here...
setTimestamp(long)
,
IRepositoryPackage.getScript_Timestamp()
void setTimestamp(long value)
Timestamp
' attribute. value
- the new value of the 'Timestamp' attribute.getTimestamp()
IScriptLocation getEntry()
Scripts
'.
If the meaning of the 'Entry' reference isn't clear, there really should be more of a description here...
setEntry(IScriptLocation)
,
IRepositoryPackage.getScript_Entry()
,
IScriptLocation.getScripts()
void setEntry(IScriptLocation value)
Entry
' container reference. value
- the new value of the 'Entry' container reference.getEntry()
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> getScriptKeywords()
String
, and the value is of type
String
,
If the meaning of the 'Script Keywords' map isn't clear, there really should be more of a description here...
IRepositoryPackage.getScript_ScriptKeywords()
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> getUserKeywords()
String
, and the value is of type
String
,
If the meaning of the 'User Keywords' map isn't clear, there really should be more of a description here...
IRepositoryPackage.getScript_UserKeywords()
IScriptEngine run()
java.lang.String getName()
IPath getPath()
java.util.Map<java.lang.String,java.lang.String> getKeywords()
ScriptType getType()
boolean isRemote()
IScriptEngine run(java.lang.String... parameters)
parameters
- startup parameters passed to the scriptIScriptEngine prepareEngine()
void refreshScriptKeywords()
void updateSignatureState()
java.lang.Boolean getSignatureState()
true
is signature is valid or false
if signature is invalid or null
if signature is not presentvoid setUserKeyword(java.lang.String keyword, java.lang.String value)