Builder

class Builder

UFServiceConfiguration's builder class

Functions

Link copied to clipboard
fun build(): UFServiceConfiguration

Build an instance of UFServiceConfigure with the configured parameters

Link copied to clipboard
fun configurationIsValid(): Boolean

Validate the UFServiceConfiguration that is built using the build method

Link copied to clipboard
fun witArgs(args: Map<String, String>): UFServiceConfiguration.Builder

Configure the target attributes parameter

Link copied to clipboard
fun witEnable(enable: Boolean): UFServiceConfiguration.Builder

Configure the enable parameter

Link copied to clipboard
fun withApiMode(apiMode: Boolean): UFServiceConfiguration.Builder

Configure the api mode parameter

Link copied to clipboard
fun withControllerId(controllerId: String?): UFServiceConfiguration.Builder

Configure the controller id parameter

Link copied to clipboard
fun withEnable(enable: Boolean): UFServiceConfiguration.Builder

Configure the enable parameter

Link copied to clipboard
fun withGatewayToken(gatewayToken: String?): UFServiceConfiguration.Builder

Configure the gateway token parameter

Link copied to clipboard
fun withGetawayToken(gatewayToken: String?): UFServiceConfiguration.Builder

Configure the gateway token parameter

Link copied to clipboard
fun withIsUpdateFactoryServer(isUpdateFactoryServer: Boolean): UFServiceConfiguration.Builder

Configure the UpdateFactoryServer parameter

Link copied to clipboard
fun withRetryDelay(retryDelay: Long): UFServiceConfiguration.Builder

Configure the retryDelay parameter

Link copied to clipboard
fun withTargetAttributes(targetAttribute: Map<String, String>?): UFServiceConfiguration.Builder

Configure the target attributes parameter

Link copied to clipboard
fun withTargetToken(targetToken: String?): UFServiceConfiguration.Builder

Configure the target token parameter

Link copied to clipboard
fun withTenant(tenant: String?): UFServiceConfiguration.Builder

Configure the tenant parameter

Link copied to clipboard
fun withUrl(url: String?): UFServiceConfiguration.Builder

Configure the url parameter