|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.identityconnectors.framework.common.objects.ScriptContext
public final class ScriptContext
Encapsulates a script and all of its parameters.
ScriptOnResourceApiOp
,
ScriptOnConnectorApiOp
Constructor Summary | |
---|---|
ScriptContext(String scriptLanguage,
String scriptText,
Map<String,Object> scriptArguments)
Public only for serialization; please use ScriptContextBuilder . |
Method Summary | |
---|---|
Map<String,Object> |
getScriptArguments()
Returns a map of arguments to be passed to the script. |
String |
getScriptLanguage()
Identifies the language in which the script is written (e.g., bash , csh ,
Perl4 or Python ). |
String |
getScriptText()
Returns the text (i.e., actual characters) of the script. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScriptContext(String scriptLanguage, String scriptText, Map<String,Object> scriptArguments)
ScriptContextBuilder
.
scriptLanguage
- The script language. Must not be null.scriptText
- The script text. Must not be null.scriptArguments
- The script arguments. May be null.Method Detail |
---|
public String getScriptLanguage()
bash
, csh
,
Perl4
or Python
).
public String getScriptText()
public Map<String,Object> getScriptArguments()
ObjectSerializerFactory
for a list of supported types.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |