Fluent builder for creating complete feature flag configurations.
const feature = new FeatureBuilder() .setFeatureName('new_ui') .setDescription('Enables the new user interface') .setEnabled(true) .setReleaseDate('2024-12-25') .build(); Copy
const feature = new FeatureBuilder() .setFeatureName('new_ui') .setDescription('Enables the new user interface') .setEnabled(true) .setReleaseDate('2024-12-25') .build();
Static
Builds the final FeatureData object.
Sets the condition for targeted rollout.
Sets the human-readable description.
Sets whether the feature is enabled.
Sets the unique name for the feature.
Sets the scheduled release date.
Sets the rollout strategy for the feature.
Fluent builder for creating complete feature flag configurations.
Example