public final class TestConnectionResult
extends Object
TestableConnectedSystemTemplate.testConnection(ConfigurationDescriptor, ExecutionContext)| Modifier and Type | Method and Description |
|---|---|
static TestConnectionResult |
error(List<String> integrationErrorMessages)
|
static TestConnectionResult |
error(String integrationErrorMessage)
|
List<String> |
getIntegrationErrorBulletList()
A list of error messages describing the failures to validate the provided credentials with the external system
This is set using
error(List) |
String |
getIntegrationErrorMessage()
A single error message describing the failure to validate the provided credentials with the external system.
|
boolean |
isSuccess()
Whether the test was successful
|
static TestConnectionResult |
success()
|
public static TestConnectionResult success()
public static TestConnectionResult error(String integrationErrorMessage)
TestableConnectedSystemTemplate.testConnection(com.appian.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor, com.appian.connectedsystems.templateframework.sdk.ExecutionContext) when credentials are invalidintegrationErrorMessage - required message to display to the userpublic static TestConnectionResult error(List<String> integrationErrorMessages)
TestableConnectedSystemTemplate.testConnection(com.appian.connectedsystems.templateframework.sdk.configuration.ConfigurationDescriptor, com.appian.connectedsystems.templateframework.sdk.ExecutionContext) when credentials are invalidintegrationErrorMessages - required list of messages to display to the userpublic boolean isSuccess()
public String getIntegrationErrorMessage()
error(String)public List<String> getIntegrationErrorBulletList()
error(List)Copyright © 2018-present Appian Corporation. All Rights Reserved.