public class ConfigurableTemplate
extends Object
All properties should be constructed using the methods found here. Properties constructed outside of the ConfigurableTemplate might have unexpected behavior.
Modifier and Type | Field and Description |
---|---|
protected com.appian.connectedsystems.simplified.sdk.configuration.TypePropertyFactory |
typePropertyFactory |
Constructor and Description |
---|
ConfigurableTemplate() |
protected final com.appian.connectedsystems.simplified.sdk.configuration.TypePropertyFactory typePropertyFactory
public LocalTypeDescriptor.Builder localType(String name)
PropertyDescriptor
.
Local type representing a person:
localType("personType") .properties( textProperty("name") .label("Name") .build(), integerProperty("height") .label("Height") .build(), booleanProperty("isMinor") .label("Is Minor") .build()) .build();
name
- Name of the typepublic PropertyDescriptorBuilder localTypeProperty(LocalTypeDescriptor localType)
localType
- Data structure composed of propertiespublic PropertyDescriptorBuilder localTypeProperty(LocalTypeDescriptor localType, String key)
localType
- Data structure composed of propertieskey
- Unique identifier to get and set the value of the property in SimpleConfiguration
public ListTypePropertyDescriptor.Builder listTypeProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public TextPropertyDescriptor.TextPropertyDescriptorBuilder textProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public EncryptedTextPropertyDescriptor.EncryptedTextPropertyDescriptorBuilder encryptedTextProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public BooleanPropertyDescriptor.BooleanPropertyDescriptorBuilder booleanProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public IntegerPropertyDescriptor.IntegerPropertyDescriptorBuilder integerProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public DoublePropertyDescriptor.DoublePropertyDescriptorBuilder doubleProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public DocumentPropertyDescriptor.DocumentPropertyDescriptorBuilder documentProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
public TextPropertyDescriptor.TextPropertyDescriptorBuilder dropdownProperty(String key, List<Choice> choices)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
choices
- List of choices to be displayed in the dropdownpublic FolderPropertyDescriptor.FolderPropertyDescriptorBuilder folderProperty(String key)
key
- Unique identifier to get and set the value of the property in SimpleConfiguration
protected PropertyPath deroot(PropertyPath updatedProperty)
Copyright © 2018-present Appian Corporation. All Rights Reserved.