public static class TextPropertyDescriptor.TextPropertyDescriptorBuilder extends PropertyDescriptorBuilder<TextPropertyDescriptor.TextPropertyDescriptorBuilder>
text property descriptorchoices, data| Constructor and Description |
|---|
TextPropertyDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
TextPropertyDescriptor |
build()
Builds the property descriptor.
|
TextPropertyDescriptor.TextPropertyDescriptorBuilder |
choice(Choice choice)
Adds a single choice option.
|
TextPropertyDescriptor.TextPropertyDescriptorBuilder |
choices(Choice... choices)
Adds a series of choice options.
|
TextPropertyDescriptor.TextPropertyDescriptorBuilder |
masked(boolean isMasked)
Sets whether the property's value will be masked in the UI.
|
TextPropertyDescriptor.TextPropertyDescriptorBuilder |
transientChoices(boolean isTransient)
Signals that this property should remove the Choices options when the object is saved.
|
checkValidState, description, displayHint, instructionText, isExpressionable, isHidden, isImportCustomizable, isReadOnly, isRequired, key, label, placeholder, refresh, type, typepublic TextPropertyDescriptor.TextPropertyDescriptorBuilder masked(boolean isMasked)
isMasked - whether the mask the property in the UI. Default: falsepublic TextPropertyDescriptor.TextPropertyDescriptorBuilder choice(Choice choice)
public TextPropertyDescriptor.TextPropertyDescriptorBuilder choices(Choice... choices)
public TextPropertyDescriptor.TextPropertyDescriptorBuilder transientChoices(boolean isTransient)
If using transient choices, you must repopulate the choices on every call to getConfigurationDescriptor()
isTransient - whether the transient property is set. Default: falsepublic TextPropertyDescriptor build()
build in class PropertyDescriptorBuilder<TextPropertyDescriptor.TextPropertyDescriptorBuilder>Copyright © 2018-present Appian Corporation. All Rights Reserved.