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

io.harness.cf.client.api.Query Maven / Gradle / Ivy

The newest version!
package io.harness.cf.client.api;

import io.harness.cf.model.FeatureConfig;
import io.harness.cf.model.FeatureSnapshot;
import io.harness.cf.model.Segment;
import java.util.List;
import java.util.Optional;
import lombok.NonNull;

public interface Query {

  Optional getFlag(@NonNull String identifier);

  Optional getSegment(@NonNull String identifier);

  List findFlagsBySegment(@NonNull String identifier);

  FeatureSnapshot getFeatureSnapshot(@NonNull String identifier);

  List getAllFeatureIdentifiers(String prefix);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy