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

com.configcat.SegmentCondition 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;

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


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy