com.configcat.Segment 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;
/**
* ConfigCat segment.
*/
public class Segment {
@SerializedName(value = "n")
private String name;
@SerializedName(value = "r")
private UserCondition[] segmentRules;
/**
* The name of the segment.
*/
public String getName() {
return name;
}
/**
* The list of segment rule conditions (where there is a logical AND relation between the items).
*/
public UserCondition[] getSegmentRules() {
return segmentRules;
}
}