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

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

/**
 * Represents a condition.
 */
public class Condition implements ConditionAccessor {
    @SerializedName(value = "u")
    private UserCondition userCondition;
    @SerializedName(value = "s")
    private SegmentCondition segmentCondition;
    @SerializedName(value = "p")
    private PrerequisiteFlagCondition prerequisiteFlagCondition;

    @Override
    public UserCondition getUserCondition() {
        return userCondition;
    }

    @Override
    public SegmentCondition getSegmentCondition() {
        return segmentCondition;
    }

    @Override
    public PrerequisiteFlagCondition getPrerequisiteFlagCondition() {
        return prerequisiteFlagCondition;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy