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

com.configcat.Segment Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy