intellij-randomness / com.fwdekker.randomness / Settings

Settings

interface Settings<S> : PersistentStateComponent<S>

Superclass for classes that will contain settings that should persist over IDE restarts.

Parameters

Functions

copyState

abstract fun copyState(): S

Returns a shallow copy of this instance.

getState

abstract fun getState(): S

Returns this.

loadState

abstract fun loadState(state: S): Unit

Copies the fields of state to this.

Inheritors

ArraySettings

data class ArraySettings : Settings<ArraySettings>

Contains settings for generating arrays of other types of random values.

DecimalSettings

data class DecimalSettings : Settings<DecimalSettings>

Contains settings for generating random decimals.

IntegerSettings

data class IntegerSettings : Settings<IntegerSettings>

Contains settings for generating random integers.

StringSettings

data class StringSettings : Settings<StringSettings>

Contains settings for generating random strings.

UuidSettings

data class UuidSettings : Settings<UuidSettings>

Contains settings for generating random UUIDs.

WordSettings

data class WordSettings : Settings<WordSettings>

Contains settings for generating random words.