C# Class Org.IdentityConnectors.Framework.Common.Objects.OperationOptionsBuilder

Builder for OperationOptions.
Exibir arquivo Open project: Tirasa/ConnId Class Usage Examples

Public Methods

Method Description
Build ( ) : OperationOptions

Creates the OperationOptions.

OperationOptionsBuilder ( ) : System

Create a builder with an empty set of options.

OperationOptionsBuilder ( OperationOptions options ) : System

Create a builder from an existing set of options.

SetOption ( String name, Object value ) : void

Sets a given option and a value for that option.

SetSortKeys ( ) : OperationOptionsBuilder

Convenience method to set OperationOptions#OP_SORT_KEYS

Since 1.4

Method Details

Build() public method

Creates the OperationOptions.
public Build ( ) : OperationOptions
return OperationOptions

OperationOptionsBuilder() public method

Create a builder with an empty set of options.
public OperationOptionsBuilder ( ) : System
return System

OperationOptionsBuilder() public method

Create a builder from an existing set of options.
public OperationOptionsBuilder ( OperationOptions options ) : System
options OperationOptions The existing set of options. Must not be null.
return System

SetOption() public method

Sets a given option and a value for that option.
public SetOption ( String name, Object value ) : void
name String The name of the option
value Object The value of the option. Must be one of the types that /// we can serialize. /// See for a list of supported types.
return void

SetSortKeys() public method

Convenience method to set OperationOptions#OP_SORT_KEYS
Since 1.4
public SetSortKeys ( ) : OperationOptionsBuilder
return OperationOptionsBuilder