public class DefaultUsagePropertyProvider extends Object implements UsagePropertyProvider
UsagePropertyProvider
interface. This implementation provides default values
for the properties used in the Axon Framework usage API. It is used when no other provider has a value.
As there is no dependent state and holds default values, this class is implemented as a singleton. Retrieve the
instance using INSTANCE
.
Modifier and Type | Field and Description |
---|---|
static DefaultUsagePropertyProvider |
INSTANCE
Singleton instance of the
DefaultUsagePropertyProvider . |
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, wait
create
public static DefaultUsagePropertyProvider INSTANCE
DefaultUsagePropertyProvider
.public Boolean getDisabled()
UsagePropertyProvider
getDisabled
in interface UsagePropertyProvider
true
if the collection is disabled, null
if not specified, or false
if enabled.public String getUrl()
UsagePropertyProvider
getUrl
in interface UsagePropertyProvider
String
, or null
if not specified.public int priority()
UsagePropertyProvider
priority
in interface UsagePropertyProvider
int
representing the priority of this provider.Copyright © 2010–2025. All rights reserved.