Class AnalyticsArgs
java.lang.Object
liquibase.analytics.configuration.AnalyticsArgs
- All Implemented Interfaces:
AutoloadedConfigurations
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConfigurationDefinition<Integer>
static final ConfigurationDefinition<String>
static final ConfigurationDefinition<Boolean>
Do not access this value directly to check whether analytics are enabled.static final ConfigurationDefinition<Integer>
static final ConfigurationDefinition<Level>
static final ConfigurationDefinition<Integer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check whether analytics are enabled.
-
Field Details
-
ENABLED
Do not access this value directly to check whether analytics are enabled. Instead, use the methodisAnalyticsEnabled()
-
CONFIG_ENDPOINT_URL
-
CONFIG_ENDPOINT_TIMEOUT_MILLIS
-
LOG_LEVEL
-
LICENSE_KEY_CHARS
-
TIMEOUT_MILLIS
-
-
Constructor Details
-
AnalyticsArgs
public AnalyticsArgs()
-
-
Method Details
-
isAnalyticsEnabled
Check whether analytics are enabled. This method handles all the various ways that analytics can be enabled or disabled and should be the primary way to validate whether analytics are turned on. You should not use the argumentENABLED
.- Returns:
- true if analytics are enabled, false otherwise.
- Throws:
Exception
- if there was a problem determining the enabled status of analytics
-