io.harness.cf.client.api.Query Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ff-java-server-sdk Show documentation
Show all versions of ff-java-server-sdk Show documentation
Harness Feature Flag Java Server SDK
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);
}