public abstract class SimpleConnectedSystemTemplate extends ConfigurableTemplate implements ConnectedSystemTemplate
A Connected System in Appian stores shared information, usually credentials, across multiple integrations
.
The data structure will be created in getConfiguration(SimpleConfiguration, ExecutionContext)
Each subclass must have the TemplateId
annotation to be successfully deployed
Your plugin must contain at least one subclass of SimpleConnectedSystemTemplate
This should only be extended directly if the Connected System has no credentials to test or credentials are untestable.
Otherwise extend one of the subclasses of SimpleConnectedSystemTemplate: TestableConnectedSystemTemplate
or OAuthConnectedSystemTemplate
.
typePropertyFactory
Constructor and Description |
---|
SimpleConnectedSystemTemplate() |
Modifier and Type | Method and Description |
---|---|
protected abstract SimpleConfiguration |
getConfiguration(SimpleConfiguration configuration,
ExecutionContext executionContext)
Returns the configuration that defines the UI and data stored for an Appian Connected System object.
|
ConfigurationDescriptor |
getConfigurationDescriptor(ConfigurationDescriptor configDescriptor,
PropertyPath updatedProperty,
ExecutionContext executionContext) |
booleanProperty, deroot, documentProperty, doubleProperty, dropdownProperty, encryptedTextProperty, folderProperty, integerProperty, listTypeProperty, localType, localTypeProperty, localTypeProperty, textProperty
protected abstract SimpleConfiguration getConfiguration(SimpleConfiguration configuration, ExecutionContext executionContext)
Every call to this method must call SimpleConfiguration.setProperties(PropertyDescriptor[])
return configuration.setProperties( encryptedTextProperty("apiKey").label("API Key").build() );
This method is called in the following scenarios:
property
that has a refresh policy
of ALWAYS
.configuration
- The current configuration
.
This value will never be nullexecutionContext
- The ExecutionContext
for the current evaluation of the Connected System descriptor
This value will never be nullconfiguration
public ConfigurationDescriptor getConfigurationDescriptor(ConfigurationDescriptor configDescriptor, PropertyPath updatedProperty, ExecutionContext executionContext)
getConfigurationDescriptor
in interface ConnectedSystemTemplate
Copyright © 2018-present Appian Corporation. All Rights Reserved.