public class BuildConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TRACE_TOKEN_KEY
The key for the
BuildConfiguration token value to store in the BuildConfig of the Android project. |
| Constructor and Description |
|---|
BuildConfiguration(BuildConfiguration buildConfiguration)
Constructor for validating parsed JSON value, as GSON has no indicator for required fields, which should not be
null. |
BuildConfiguration(java.lang.String token,
java.lang.String version)
Constructor for class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getToken() |
java.lang.String |
getVersion() |
void |
setToken(java.lang.String token) |
void |
setVersion(java.lang.String version) |
public static final java.lang.String TRACE_TOKEN_KEY
BuildConfiguration token value to store in the BuildConfig of the Android project.public BuildConfiguration(@NonNull
java.lang.String token,
@NonNull
java.lang.String version)
token - the token.version - the version.public BuildConfiguration(@NonNull
BuildConfiguration buildConfiguration)
null.buildConfiguration - the BuildConfiguration to validate.