Package io.unlaunch.engine
Class Variation
java.lang.Object
io.unlaunch.engine.Variation
public final class Variation
extends java.lang.Object
A class representing feature flag variable.
- Author:
- jawad
-
Constructor Summary
Constructors Constructor Description Variation()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAllowList()
java.lang.String
getKey()
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
long
getRolloutPercentage()
void
setAllowList(java.lang.String allowList)
void
setKey(java.lang.String key)
void
setName(java.lang.String name)
void
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
void
setRolloutPercentage(long rolloutPercentage)
-
Constructor Details
-
Variation
public Variation()
-
-
Method Details
-
getKey
public java.lang.String getKey() -
setKey
public void setKey(java.lang.String key) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getRolloutPercentage
public long getRolloutPercentage() -
setRolloutPercentage
public void setRolloutPercentage(long rolloutPercentage) -
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties() -
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties) -
getAllowList
public java.lang.String getAllowList() -
setAllowList
public void setAllowList(java.lang.String allowList)
-