intellij-randomness / com.fwdekker.randomness.uuid / UuidSettings

UuidSettings

data class UuidSettings : Settings<UuidSettings>

Contains settings for generating random UUIDs.

Constructors

<init>

UuidSettings(enclosure: String = DEFAULT_ENCLOSURE)

Contains settings for generating random UUIDs.

Properties

enclosure

var enclosure: String

The string that encloses the generated UUID on both sides.

Functions

copyState

fun copyState(): UuidSettings

Returns a shallow copy of this instance.

getState

fun getState(): UuidSettings

Returns this.

loadState

fun loadState(state: UuidSettings): Unit

Copies the fields of state to this.

Companion Object Properties

default

val default: UuidSettings

The persistent UuidSettings instance.

DEFAULT_ENCLOSURE

const val DEFAULT_ENCLOSURE: String

The default value of the enclosure field.