Class DataModel
- java.lang.Object
-
- com.launchdarkly.sdk.server.DataModel
-
public abstract class DataModel extends java.lang.ObjectContains information about the internal data model for feature flags and user segments.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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Iterable<DataStoreTypes.DataKind>ALL_DATA_KINDSAn enumeration of all supportedDataStoreTypes.DataKindtypes.static DataStoreTypes.DataKindFEATURESTheDataStoreTypes.DataKindinstance that describes feature flag data.static DataStoreTypes.DataKindSEGMENTSTheDataStoreTypes.DataKindinstance that describes user segment data.
-
-
-
Field Detail
-
FEATURES
public static DataStoreTypes.DataKind FEATURES
TheDataStoreTypes.DataKindinstance 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.
-
SEGMENTS
public static DataStoreTypes.DataKind SEGMENTS
TheDataStoreTypes.DataKindinstance 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.
-
ALL_DATA_KINDS
public static java.lang.Iterable<DataStoreTypes.DataKind> ALL_DATA_KINDS
An enumeration of all supportedDataStoreTypes.DataKindtypes.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.
-
-