Class ScriptContext
java.lang.Object
org.identityconnectors.framework.common.objects.ScriptContext
Encapsulates a script and all of its parameters.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of arguments to be passed to the script.Identifies the language in which the script is written (e.g.,bash
,csh
,Perl4
orPython
).Returns the text (i.e., actual characters) of the script.toString()
-
Constructor Details
-
ScriptContext
Public only for serialization; please useScriptContextBuilder
.- Parameters:
scriptLanguage
- The script language. Must not be null.scriptText
- The script text. Must not be null.scriptArguments
- The script arguments. May be null.
-
-
Method Details
-
getScriptLanguage
Identifies the language in which the script is written (e.g.,bash
,csh
,Perl4
orPython
).- Returns:
- The script language.
-
getScriptText
Returns the text (i.e., actual characters) of the script.- Returns:
- The text of the script.
-
getScriptArguments
Returns a map of arguments to be passed to the script. Values must be types that the framework can serialize. SeeObjectSerializerFactory
for a list of supported types.- Returns:
- A map of arguments to be passed to the script.
-
toString
-