public abstract class DataModel
extends java.lang.Object
The details of the data model are not public to application code (although of course developers can easily look at the code or the data) so that changes to LaunchDarkly SDK implementation details will not be breaking changes to the application. Therefore, most of the members of this class are package-private. The public members provide a high-level description of model objects so that custom integration code or test code can store or serialize them.
Modifier and Type | Field and Description |
---|---|
static java.lang.Iterable<DataStoreTypes.DataKind> |
ALL_DATA_KINDS
An enumeration of all supported
DataStoreTypes.DataKind types. |
static DataStoreTypes.DataKind |
FEATURES
The
DataStoreTypes.DataKind instance that describes feature flag data. |
static DataStoreTypes.DataKind |
SEGMENTS
The
DataStoreTypes.DataKind instance that describes user segment data. |
public static DataStoreTypes.DataKind FEATURES
DataStoreTypes.DataKind
instance that describes feature flag data.
Applications should not need to reference this object directly. It is public so that custom integrations and test code can serialize or deserialize data or inject it into a data store.
public static DataStoreTypes.DataKind SEGMENTS
DataStoreTypes.DataKind
instance that describes user segment data.
Applications should not need to reference this object directly. It is public so that custom integrations and test code can serialize or deserialize data or inject it into a data store.
public static java.lang.Iterable<DataStoreTypes.DataKind> ALL_DATA_KINDS
DataStoreTypes.DataKind
types.
Applications should not need to reference this object directly. It is public so that custom data store implementations can determine ahead of time what kinds of model objects may need to be stored, if necessary.