interface Scheme<SELF> : Scheme
A scheme is a collection of configurable values.
In a typical use case a user can quickly switch between instances of schemes of the same type to change the "preset" or "configuration" that is currently being used.
SELF
- the type of scheme that is stored; should be a self reference
See Also
abstract var myName: String
The name of the scheme, used to identify it. |
abstract fun copyAs(name: String): SELF
Returns a copy of this scheme that has the given name. |
|
abstract fun copyFrom(other: SELF): Unit
Shallowly copies the state of other into |
|
open fun getName(): String
Same as myName. |
const val DEFAULT_NAME: String
The name of the default scheme. |
data class ArrayScheme : Scheme<ArrayScheme>
Contains settings for generating arrays of other types of random values. |
|
data class DecimalScheme : Scheme<DecimalScheme>
Contains settings for generating random decimals. |
|
data class IntegerScheme : Scheme<IntegerScheme>
Contains settings for generating random integers. |
|
data class StringScheme : Scheme<StringScheme>
Contains settings for generating random strings. |
|
data class UuidScheme : Scheme<UuidScheme>
Contains settings for generating random UUIDs. |
|
data class WordScheme : Scheme<WordScheme>
Contains settings for generating random words. |