C# 클래스 Org.IdentityConnectors.Framework.Common.Objects.ScriptContextBuilder

Builds an ScriptContext.
파일 보기 프로젝트 열기: Tirasa/ConnId 1 사용 예제들

공개 메소드들

메소드 설명
AddScriptArgument ( String name, Object value ) : ScriptContextBuilder

Adds or sets an argument to pass to the script.

Build ( ) : ScriptContext

Creates a ScriptContext.

The scriptLanguage and scriptText must be set prior to calling this.

RemoveScriptArgument ( String name ) : ScriptContextBuilder

Removes the given script argument.

ScriptContextBuilder ( ) : System

Creates an empty builder.

ScriptContextBuilder ( String scriptLanguage, String scriptText ) : System

Creates a builder with the required parameters specified.

메소드 상세

AddScriptArgument() 공개 메소드

Adds or sets an argument to pass to the script.
public AddScriptArgument ( String name, Object value ) : ScriptContextBuilder
name String The name of the argument. Must not be null.
value Object The value of the argument. Must be one of /// type types that the framework can serialize.
리턴 ScriptContextBuilder

Build() 공개 메소드

Creates a ScriptContext.
The scriptLanguage and scriptText must be set prior to calling this.
public Build ( ) : ScriptContext
리턴 ScriptContext

RemoveScriptArgument() 공개 메소드

Removes the given script argument.
public RemoveScriptArgument ( String name ) : ScriptContextBuilder
name String The name of the argument. Must not be null.
리턴 ScriptContextBuilder

ScriptContextBuilder() 공개 메소드

Creates an empty builder.
public ScriptContextBuilder ( ) : System
리턴 System

ScriptContextBuilder() 공개 메소드

Creates a builder with the required parameters specified.
public ScriptContextBuilder ( String scriptLanguage, String scriptText ) : System
scriptLanguage String a string that identifies the language /// in which the script is written /// (e.g., bash, csh, /// Perl4 or Python).
scriptText String The text (i.e., actual characters) of the script.
리턴 System