public interface ExecutionContext
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getAccessToken()
OAuth access token for the current user.
|
int |
getAttemptNumber()
The number of attempts to call execute an Integration or retrieve a Configuration.
|
Locale |
getDesignerLocale()
The locale of the user configuring the integration.
|
Locale |
getExecutionLocale()
The locale to use when creating an
IntegrationError. |
ProxyConfigurationData |
getProxyConfigurationData()
Proxy configurations for the site.
|
boolean |
hasAccessToConnectedSystem()
Whether the user has access to the connected system.
|
boolean |
isDiagnosticsEnabled()
Whether diagnostics should be provided.
|
Locale getDesignerLocale()
Locale getExecutionLocale()
IntegrationError. Use the designer locale in all other contexts.boolean isDiagnosticsEnabled()
boolean hasAccessToConnectedSystem()
If the user does not have access to the connected system, it means that they cannot update the connected system's configuration descriptor. Keep this in mind when displaying error messages.
The connected system's ConfigurationDescriptor will still be passed to IntegrationTemplate methods regardless of whether the user has access to view the connected system.
ProxyConfigurationData getProxyConfigurationData()
Optional<String> getAccessToken()
int getAttemptNumber()
ExpiredTokenException.Copyright © 2018-present Appian Corporation. All Rights Reserved.