State

sealed class State : UFServiceMessageV1

Class that maps all the possible actions that the service is doing

Types

Link copied to clipboard
object CancellingUpdate : UFServiceMessageV1.State

Client is cancelling the last update request

Link copied to clipboard
data class ConfigurationError(val details: List<String> = emptyList()) : UFServiceMessageV1.State

Bad service configuration

Link copied to clipboard
data class Downloading(val artifacts: List<UFServiceMessageV1.State.Downloading.Artifact>) : UFServiceMessageV1.State

Client is downloading artifacts from server

Link copied to clipboard
object Idle : UFServiceMessageV1.State

Client is waiting for new requests from server

Link copied to clipboard
object Updating : UFServiceMessageV1.State

Client has started the update process. Any request to cancel an update will be rejected

Link copied to clipboard
object WaitingDownloadAuthorization : UFServiceMessageV1.State

Client is waiting for an authorization to start the artifacts downloading

Link copied to clipboard
object WaitingUpdateAuthorization : UFServiceMessageV1.State

Client is waiting for an authorization to start the update

Functions

Link copied to clipboard
open fun toJson(): String
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val description: String

Message description

Link copied to clipboard
open override val name: UFServiceMessageV1.MessageName

Message type

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard