dynamic API
CloudBees Feature Management (legacy)
|
This is Rollout-legacy documentation. For Rollout customers: This (Rollout) documentation remains available through your end-of-service date. CloudBees Feature Management is now part of CloudBees Unify. Refer to CloudBees Unify Feature management documentation. |
An alternative to the CloudBees Feature Management static API for defining flags on different container objects and accessing them from that container object.
Dynamic API allows you to get a flag’s value by its name (String). If the flag does not exist, it creates the flag and returns the default value.
The dynamic API consists of three functions:
-
isEnabled- returns a boolean -
value- returns a string -
getNumber/getInt,getDouble- returns a number