public enum RefreshPolicy extends Enum<RefreshPolicy>
IntegrationTemplate.getConfigurationDescriptor(com.appian.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor, com.appian.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor, com.appian.connectedsystems.templateframework.sdk.configuration.PropertyPath, com.appian.connectedsystems.templateframework.sdk.ExecutionContext) or ConnectedSystemTemplate.getConfigurationDescriptor(com.appian.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor, com.appian.connectedsystems.templateframework.sdk.configuration.PropertyPath, com.appian.connectedsystems.templateframework.sdk.ExecutionContext) will be called when the user updates a given property.
Use PropertyDescriptorBuilder.refresh(RefreshPolicy) to set this value
For fields that do not affect the UI, use NEVER. For fields that should result in dynamic UI behavior, use ALWAYS.
| Enum Constant and Description |
|---|
ALWAYS
Whenever a user updates the given property's value,
getConfigurationDescriptor will be called. |
NEVER
Updating the property descriptor will never result in a call to create a new
ConfigurationDescriptor; rather, the state will simply be updated with the new value. |
| Modifier and Type | Method and Description |
|---|---|
static RefreshPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefreshPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefreshPolicy NEVER
ConfigurationDescriptor; rather, the state will simply be updated with the new value.public static final RefreshPolicy ALWAYS
getConfigurationDescriptor will be called.public static RefreshPolicy[] values()
for (RefreshPolicy c : RefreshPolicy.values()) System.out.println(c);
public static RefreshPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018-present Appian Corporation. All Rights Reserved.