All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.client.VersionedData Maven / Gradle / Ivy

package com.launchdarkly.client;

/**
 * Common interface for string-keyed, versioned objects that can be kept in a {@link FeatureStore}.
 * @since 3.0.0
 */
public interface VersionedData {
  /**
   * The key for this item, unique within the namespace of each {@link VersionedDataKind}.
   * @return the key
   */
  String getKey();
  /**
   * The version number for this item.
   * @return the version number
   */
  int getVersion();
  /**
   * True if this is a placeholder for a deleted item.
   * @return true if deleted
   */
  boolean isDeleted();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy