public static class
IdentityApplication.Builder
extends Object
Builder for creating an instance of IdentityApplication
Field Summary
public H extends AbstractApplicationHelper | helper | |
public IdentityService | identityService |
Public Constructor Summary
IdentityApplication.Builder(IdentityConnector connector, String[] args)
Builder for IdentityApplication
|
Public Method Summary
IdentityApplication |
build()
Builds an instance of
IdentityApplication . |
B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> | |
B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> |
setHelper(H extends AbstractApplicationHelper helper)
|
IdentityApplication.Builder |
setIdentityService(IdentityService identityService)
Sets
IdentityService instance to be used for making API requests syncing user and
group identities. |
Inherited Method Summary
Fields
Public Constructors
public IdentityApplication.Builder (IdentityConnector connector, String[] args)
Builder for IdentityApplication
Parameters
connector | instance |
---|---|
args | command line arguments |
Public Methods
public IdentityApplication build ()
Builds an instance of IdentityApplication
.
Throws
StartupException |
---|
public B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> setCredentialFactory (CredentialFactory credentialFactory)
Creates a GoogleCredential object.
Parameters
credentialFactory |
---|
Returns
ERROR(/CredentialFactory)
object for creatingERROR(/GoogleCredential)
instance.
public B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> setHelper (H extends AbstractApplicationHelper helper)
Parameters
helper |
---|
public IdentityApplication.Builder setIdentityService (IdentityService identityService)
Sets IdentityService
instance to be used for making API requests syncing user and
group identities.
Parameters
identityService | to be used for making API requests syncing user and group identities. |
---|
Returns
- this builder instance.