public class BeaconConfiguration
extends java.lang.Object
Note: This class shall be immutable. It is perfectly valid to exchange the configuration over time.
| Modifier and Type | Field and Description |
|---|---|
static CrashReportingLevel |
DEFAULT_CRASH_REPORTING_LEVEL |
static DataCollectionLevel |
DEFAULT_DATA_COLLECTION_LEVEL |
static int |
DEFAULT_MULITPLICITY |
| Constructor and Description |
|---|
BeaconConfiguration()
Default constructor using default values for data collection levels
|
BeaconConfiguration(int multiplicity,
DataCollectionLevel dataCollectionLevel,
CrashReportingLevel crashReportingLevel)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CrashReportingLevel |
getCrashReportingLevel()
Get the crash reporting level
|
DataCollectionLevel |
getDataCollectionLevel()
Get the data collection level
|
int |
getMultiplicity()
Get the multiplicity
|
boolean |
isCapturingAllowed()
Get a flag if capturing is allowed based on the value of mulitplicity
|
public static final DataCollectionLevel DEFAULT_DATA_COLLECTION_LEVEL
public static final CrashReportingLevel DEFAULT_CRASH_REPORTING_LEVEL
public static final int DEFAULT_MULITPLICITY
public BeaconConfiguration()
public BeaconConfiguration(int multiplicity,
DataCollectionLevel dataCollectionLevel,
CrashReportingLevel crashReportingLevel)
multiplicity - multiplicity as returned by the serverdataCollectionLevel - data collection level ( @see com.dynatrace.configuration.DataCollectionLevel )crashReportingLevel - crashReporting level ( @see com.dynatrace.configuration.CrashReportingLevel )public DataCollectionLevel getDataCollectionLevel()
public CrashReportingLevel getCrashReportingLevel()
public int getMultiplicity()
public boolean isCapturingAllowed()
true if capturing is allowed false if not