dynamic API
|
UPDATE
Because CloudBees Feature Management is an end-of-life product, support during the extension period is limited to critical items only:
This coverage is consistent with the CloudBees end-of-life policy in the support Terms & Conditions. |
|
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