
com.configcat.PrerequisiteFlagCondition 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;
/**
* Describes a condition that is based on a prerequisite flag.
*/
public class PrerequisiteFlagCondition {
@SerializedName(value = "f")
private String prerequisiteFlagKey;
@SerializedName(value = "c")
private int prerequisiteComparator;
@SerializedName(value = "v")
private SettingValue value;
/**
* The key of the prerequisite flag that the condition is based on.
*/
public String getPrerequisiteFlagKey() {
return prerequisiteFlagKey;
}
/**
* The operator which defines the relation between the evaluated value of the prerequisite flag and the comparison value.
*/
public int getPrerequisiteComparator() {
return prerequisiteComparator;
}
/**
* The value that the evaluated value of the prerequisite flag is compared to.
* Can be a value of the following types: {@link Boolean}, {@link String}, {@link Integer} or {@link Double}.
*/
public SettingValue getValue() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy