class Property
Represents prompted property bound with its definition. Can interact with other properties using common context.
Property(definition: PropertyDefinition, prompt: PropertyPrompt, context: PropertyContext)
Represents prompted property bound with its definition. Can interact with other properties using common context. |
val definition: PropertyDefinition |
|
val description: String |
|
var enabled: Boolean |
|
val invalid: Boolean |
|
val label: String |
|
val name: String |
|
val optionalWithValue: Boolean |
|
val options: Any? |
|
var required: Boolean |
|
val type: PropertyType |
|
var value: String |
fun control(): Unit |
|
fun other(name: String): Property |
|
fun others(pattern: String): List<Property> |
|
fun toggle(): Unitfun toggle(vararg names: String): Unitfun toggle(names: List<String>): Unitfun toggle(flag: Boolean, vararg names: String): Unitfun toggle(flag: Boolean, patterns: List<String>): Unit |
|
fun toString(): String |
|
fun validate(): PropertyValidator |