public class Configuration extends Object
| Constructor and Description |
|---|
Configuration()
Default constructor that initializes the configuration with default or environment variable values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIntegrationName()
Gets the integration name.
|
String |
getIntegrationType()
Gets the integration type.
|
String |
getIntegrationVersion()
Gets the integration version.
|
static String |
getSDKVersion()
Reads the SDK version from the VERSION file in the current directory.
|
String |
getTelemetryHeader()
Gets the telemetry header, regenerating it if it's null.
|
String |
getVendorName()
Gets the vendor name.
|
void |
setIntegrationName(String integrationName)
Sets the integration name and invalidates the cached telemetry header.
|
void |
setIntegrationType(String integrationType)
Sets the integration type and invalidates the cached telemetry header.
|
void |
setIntegrationVersion(String integrationVersion)
Sets the integration version and invalidates the cached telemetry header.
|
void |
setVendorName(String vendorName)
Sets the vendor name and invalidates the cached telemetry header.
|
public Configuration()
public String getIntegrationName()
public void setIntegrationName(String integrationName)
integrationName - the integration name to setpublic String getIntegrationType()
public void setIntegrationType(String integrationType)
integrationType - the integration type to setpublic String getIntegrationVersion()
public void setIntegrationVersion(String integrationVersion)
integrationVersion - the integration version to setpublic String getVendorName()
public void setVendorName(String vendorName)
vendorName - the vendor name to setpublic String getTelemetryHeader()
public static String getSDKVersion()
Copyright © 2025. All rights reserved.