public class CommandLineUsagePropertyProvider extends Object implements UsagePropertyProvider
UsagePropertyProvider
implementation that reads the usage properties from the command line system
properties. This is the highest priority provider, meaning any defined property will override the others.Modifier and Type | Field and Description |
---|---|
static String |
DISABLED_KEY
The system property key to check if the update checker is disabled.
|
static String |
URL_KEY
The system property key to retrieve the URL for the usage collection endpoint.
|
Constructor and Description |
---|
CommandLineUsagePropertyProvider() |
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 final String DISABLED_KEY
public static final String URL_KEY
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.