dynamic API

CloudBees Feature Management

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