Package io.quarkus.analytics.dto.config
Class RemoteConfig
java.lang.Object
io.quarkus.analytics.dto.config.RemoteConfig
- All Implemented Interfaces:
AnalyticsRemoteConfig,Serializable
Allow to configure build analytics behaviour by downloading a remote configuration file from a public location.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanList of anonymous UUID representing the users who will not send analytics.List of quarkus versions that will not send analytics.Configuration refresh intervalinthashCode()booleanisActive()voidsetActive(boolean active) voidsetDenyAnonymousIds(List<String> denyAnonymousIds) voidsetDenyQuarkusVersions(List<String> denyQuarkusVersions) voidsetRefreshInterval(Duration refreshInterval)
-
Constructor Details
-
RemoteConfig
public RemoteConfig()
-
-
Method Details
-
builder
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceAnalyticsRemoteConfig- Returns:
- true if the analytics is enabled
-
setActive
public void setActive(boolean active) -
getDenyAnonymousIds
Description copied from interface:AnalyticsRemoteConfigList of anonymous UUID representing the users who will not send analytics. The data from particular UUIDs might contain issues and generation will be disabled at the source.- Specified by:
getDenyAnonymousIdsin interfaceAnalyticsRemoteConfig- Returns:
-
setDenyAnonymousIds
-
getDenyQuarkusVersions
Description copied from interface:AnalyticsRemoteConfigList of quarkus versions that will not send analytics. The data from particular versions might contain issues and generation will be disabled at the source.- Specified by:
getDenyQuarkusVersionsin interfaceAnalyticsRemoteConfig- Returns:
-
setDenyQuarkusVersions
-
getRefreshInterval
Description copied from interface:AnalyticsRemoteConfigConfiguration refresh interval- Specified by:
getRefreshIntervalin interfaceAnalyticsRemoteConfig- Returns:
-
setRefreshInterval
-
equals
-
hashCode
public int hashCode()
-