public final class ConsentOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
ConsentOptions.IOBackend |
static class |
ConsentOptions.Permission |
Modifier and Type | Method and Description |
---|---|
void |
applyServerUpdates(java.lang.String json) |
java.lang.String |
getConfirmedConsentsString() |
Pair<java.util.List<Consent>,java.lang.Boolean> |
getConsents() |
static ConsentOptions |
getInstance() |
Consent |
getUsageStatsConsent() |
boolean |
isEAP() |
ConsentOptions.Permission |
isSendingUsageStatsAllowed()
Warning: For JetBrains products this setting is relevant for release builds only.
|
void |
setConsents(java.util.Collection<Consent> confirmedByUser) |
boolean |
setSendingUsageStatsAllowed(boolean allowed)
Warning: For JetBrains products this setting is relevant for release builds only.
|
public static ConsentOptions getInstance()
public boolean isEAP()
public Consent getUsageStatsConsent()
public ConsentOptions.Permission isSendingUsageStatsAllowed()
public boolean setSendingUsageStatsAllowed(boolean allowed)
public java.lang.String getConfirmedConsentsString()
public void applyServerUpdates(java.lang.String json)
public void setConsents(java.util.Collection<Consent> confirmedByUser)