Package com.vasco.orchestration.client
Class Orchestrator.Builder
java.lang.Object
com.vasco.orchestration.client.Orchestrator.Builder
- Enclosing interface:
- Orchestrator
Simple builder for the
Orchestrator
object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
build anOrchestrator
object with the configuredOrchestrator.Builder
instance.setActivityProvider
(ActivityProvider activityProvider) Set the activity provider parameter and return the modifiedOrchestrator.Builder
.setCDDCParams
(CDDCParams cddcParams) Set the CDDC parameters.setContext
(android.content.Context context) Set the context parameter and return the modifiedOrchestrator.Builder
.setDefaultDomain
(String defaultDomain) Set the domain that will be used by default for users and return the modifiedOrchestrator.Builder
.setDigipassSalt
(String digipassSalt) Set the salt that is used to protect the secret of the DIGIPASS and return the modifiedOrchestrator.Builder
.setErrorCallback
(OrchestrationErrorCallback orchestrationErrorCallback) Set the delegate that will be used if an error occurs.setStorageSalt
(String storageSalt) Set the salt that is used to protect the storage and return the modifiedOrchestrator.Builder
.setWarningCallback
(OrchestrationWarningCallback orchestrationWarningCallback) Set the delegate that will be used if a warning occurs.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
build anOrchestrator
object with the configuredOrchestrator.Builder
instance. -
setDigipassSalt
Set the salt that is used to protect the secret of the DIGIPASS and return the modifiedOrchestrator.Builder
.- Parameters:
digipassSalt
- digipass salt- Returns:
- modified
Orchestrator.Builder
-
setStorageSalt
Set the salt that is used to protect the storage and return the modifiedOrchestrator.Builder
.- Parameters:
storageSalt
- storage salt- Returns:
- modified
Orchestrator.Builder
-
setContext
Set the context parameter and return the modifiedOrchestrator.Builder
.- Parameters:
context
- application context- Returns:
- modified
Orchestrator.Builder
-
setActivityProvider
Set the activity provider parameter and return the modifiedOrchestrator.Builder
.- Parameters:
activityProvider
- Current activity provider- Returns:
- modified
Orchestrator.Builder
-
setDefaultDomain
Set the domain that will be used by default for users and return the modifiedOrchestrator.Builder
.- Parameters:
defaultDomain
- default domain to use- Returns:
Orchestrator.Builder
-
setCDDCParams
Set the CDDC parameters. These parameters are used during CDDC process and return the modifiedOrchestrator.Builder
.- Parameters:
cddcParams
- CDDC parameters used to configure CDDC process- Returns:
- modified
Orchestrator.Builder
-
setErrorCallback
Set the delegate that will be used if an error occurs. The method then returns the modifiedOrchestrator.Builder
.- Parameters:
orchestrationErrorCallback
- error callback- Returns:
- modified
Orchestrator.Builder
-
setWarningCallback
public Orchestrator.Builder setWarningCallback(OrchestrationWarningCallback orchestrationWarningCallback) Set the delegate that will be used if a warning occurs. The method then returns the modifiedOrchestrator.Builder
.- Parameters:
orchestrationWarningCallback
- warning callback- Returns:
- modified
Orchestrator.Builder
-