Package com.vasco.orchestration.client
Class Orchestrator.Builder
- java.lang.Object
-
- com.vasco.orchestration.client.Orchestrator.Builder
-
- Enclosing interface:
- Orchestrator
public static class Orchestrator.Builder extends java.lang.Object
Simple builder for theOrchestrator
object.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Orchestrator
build()
build anOrchestrator
object with the configuredOrchestrator.Builder
instance.Orchestrator.Builder
setActivityProvider(ActivityProvider activityProvider)
Set the activity provider parameter and return the modifiedOrchestrator.Builder
.Orchestrator.Builder
setCDDCParams(CDDCParams cddcParams)
Set the CDDC parameters.Orchestrator.Builder
setContext(android.content.Context context)
Set the context parameter and return the modifiedOrchestrator.Builder
.Orchestrator.Builder
setDefaultDomain(java.lang.String defaultDomain)
Set the domain that will be used by default for users and return the modifiedOrchestrator.Builder
.Orchestrator.Builder
setDigipassSalt(java.lang.String digipassSalt)
Set the salt that is used to protect the secret of the DIGIPASS and return the modifiedOrchestrator.Builder
.Orchestrator.Builder
setErrorCallback(OrchestrationErrorCallback orchestrationErrorCallback)
Set the delegate that will be used if an error occurs.Orchestrator.Builder
setStorageSalt(java.lang.String storageSalt)
Set the salt that is used to protect the storage and return the modifiedOrchestrator.Builder
.Orchestrator.Builder
setWarningCallback(OrchestrationWarningCallback orchestrationWarningCallback)
Set the delegate that will be used if a warning occurs.
-
-
-
Method Detail
-
build
public Orchestrator build()
build anOrchestrator
object with the configuredOrchestrator.Builder
instance.
-
setDigipassSalt
public Orchestrator.Builder setDigipassSalt(java.lang.String digipassSalt)
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
public Orchestrator.Builder setStorageSalt(java.lang.String storageSalt)
Set the salt that is used to protect the storage and return the modifiedOrchestrator.Builder
.- Parameters:
storageSalt
- storage salt- Returns:
- modified
Orchestrator.Builder
-
setContext
public Orchestrator.Builder setContext(android.content.Context context)
Set the context parameter and return the modifiedOrchestrator.Builder
.- Parameters:
context
- application context- Returns:
- modified
Orchestrator.Builder
-
setActivityProvider
public Orchestrator.Builder setActivityProvider(ActivityProvider activityProvider)
Set the activity provider parameter and return the modifiedOrchestrator.Builder
.- Parameters:
activityProvider
- Current activity provider- Returns:
- modified
Orchestrator.Builder
-
setDefaultDomain
public Orchestrator.Builder setDefaultDomain(java.lang.String defaultDomain)
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
public Orchestrator.Builder setCDDCParams(CDDCParams cddcParams)
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
public Orchestrator.Builder setErrorCallback(OrchestrationErrorCallback orchestrationErrorCallback)
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
-
-