public class PropertyFileUsagePropertyProvider extends Object implements UsagePropertyProvider
UsagePropertyProvider that reads the AxonIQ Data Collection properties from a file located at
`~/.axoniq/data-collection.properties`. If the file does not exist, it creates a default file with the default
telemetry endpoint and opt-out settings.
If the file cannot be written, it will log a debug message and skip the property provider.
| Constructor and Description |
|---|
PropertyFileUsagePropertyProvider() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDisabled()
Returns whether the Anonymous Usage Collection is disabled.
|
String |
getUrl()
Returns the URL for the Anonymous Usage Collection endpoint.
|
int |
priority()
Returns the priority of this property provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic Boolean getDisabled()
UsagePropertyProvidergetDisabled in interface UsagePropertyProvidertrue if the collection is disabled, null if not specified, or false if enabled.public String getUrl()
UsagePropertyProvidergetUrl in interface UsagePropertyProviderString, or null if not specified.public int priority()
UsagePropertyProviderpriority in interface UsagePropertyProviderint representing the priority of this provider.Copyright © 2010–2025. All rights reserved.