Class Toggle
- java.lang.Object
-
- com.featureprobe.sdk.server.model.Toggle
-
public class Toggle extends Object
-
-
Constructor Summary
Constructors Constructor Description Toggle()
-
Method Summary
-
-
-
Method Detail
-
eval
public EvaluationResult eval(FPUser user, Map<String,Toggle> toggles, Map<String,Segment> segments, Object defaultValue, int deep)
-
doEval
public EvaluationResult doEval(FPUser user, Map<String,Toggle> toggles, Map<String,Segment> segments, Object defaultValue, int depth)
-
meetPrerequisite
protected boolean meetPrerequisite(FPUser user, Map<String,Toggle> toggles, Map<String,Segment> segments, int depth)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getVersion
public Long getVersion()
-
setVersion
public void setVersion(Long version)
-
getDisabledServe
public Serve getDisabledServe()
-
setDisabledServe
public void setDisabledServe(Serve disabledServe)
-
getDefaultServe
public Serve getDefaultServe()
-
setDefaultServe
public void setDefaultServe(Serve defaultServe)
-
getForClient
public Boolean getForClient()
-
setForClient
public void setForClient(Boolean forClient)
-
setTrackAccessEvents
public void setTrackAccessEvents(Boolean trackAccessEvents)
-
getTrackAccessEvents
public Boolean getTrackAccessEvents()
-
setLastModified
public void setLastModified(Long lastModified)
-
getLastModified
public Long getLastModified()
-
getPrerequisites
public List<Prerequisite> getPrerequisites()
-
setPrerequisites
public void setPrerequisites(List<Prerequisite> prerequisites)
-
-