public abstract class SimpleTestableConnectedSystemTemplate extends SimpleConnectedSystemTemplate implements TestableConnectedSystemTemplate
SimpleConnectedSystemTemplate
that contains credentials that can be validated against an external system.
Connected System Templates that extend this class are able to be tested by the designer in the UI. Tests
will trigger a call to testConnection(SimpleConfiguration, ExecutionContext)
.
This method returns a response that is displayed to the designer.
typePropertyFactory
Constructor and Description |
---|
SimpleTestableConnectedSystemTemplate() |
Modifier and Type | Method and Description |
---|---|
TestConnectionResult |
testConnection(ConfigurationDescriptor configDescriptor,
ExecutionContext executionContext) |
protected abstract TestConnectionResult |
testConnection(SimpleConfiguration configuration,
ExecutionContext executionContext)
Validates credentials in the connected system
Called when designer tests the credentials of a Testable Connected System
|
getConfiguration, getConfigurationDescriptor
booleanProperty, deroot, documentProperty, doubleProperty, dropdownProperty, encryptedTextProperty, folderProperty, integerProperty, listTypeProperty, localType, localTypeProperty, localTypeProperty, textProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationDescriptor
public SimpleTestableConnectedSystemTemplate()
protected abstract TestConnectionResult testConnection(SimpleConfiguration configuration, ExecutionContext executionContext)
Called when designer tests the credentials of a Testable Connected System
configuration
- The current configuration of the connected system.
This will not be null.executionContext
- Designer specific data needed to initiate a connection with the external system.public TestConnectionResult testConnection(ConfigurationDescriptor configDescriptor, ExecutionContext executionContext)
testConnection
in interface TestableConnectedSystemTemplate
Copyright © 2018-present Appian Corporation. All Rights Reserved.