Support DataDog Reporting.

This commit is contained in:
Moxie Marlinspike
2014-02-21 09:14:05 -08:00
parent 6aaca59020
commit 67e5794722
4 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package org.whispersystems.textsecuregcm.configuration;
import com.fasterxml.jackson.annotation.JsonProperty;
public class DataDogConfiguration {
@JsonProperty
private String apiKey;
@JsonProperty
private boolean enabled = false;
public String getApiKey() {
return apiKey;
}
public boolean isEnabled() {
return enabled && apiKey != null;
}
}