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