com.configcat.SegmentCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of configcat-java-client Show documentation
Show all versions of configcat-java-client Show documentation
Java SDK for ConfigCat, a feature flag, feature toggle, and configuration management service. That lets you launch new features and change your software configuration remotely without actually (re)deploying code. ConfigCat even helps you do controlled roll-outs like canary releases and blue-green deployments.
The newest version!
package com.configcat;
import com.google.gson.annotations.SerializedName;
/**
* Describes a condition that is based on a segment.
*/
public class SegmentCondition {
@SerializedName(value = "s")
private int segmentIndex;
@SerializedName(value = "c")
private int segmentComparator;
/**
* The index of the segment that the condition is based on.
*/
public int getSegmentIndex() {
return segmentIndex;
}
/**
* The operator which defines the expected result of the evaluation of the segment.
*/
public int getSegmentComparator() {
return segmentComparator;
}
}