Package-level declarations

Types

Link copied to clipboard

Opt-in annotation denoting that the used function can potentially block a calling thread with I/O operations.

Link copied to clipboard

A blocking equivalent of Laboratory.

Link copied to clipboard

Factory that allows to override default feature flag option used by Laboratory.

Link copied to clipboard
interface Feature<T : Feature<T>, Enum<T>> : Comparable<T>

A feature flag that has one active option. Options are selected by interaction of this interface with Laboratory. Feature flag is a enum that implements this interface.

Link copied to clipboard
interface FeatureFactory

Factory that should provide all available feature flags. There shouldn't be any need to use it in a regular application code. Its main purpose is for QA inspection module.

Link copied to clipboard
interface FeatureStorage

Persistence mechanism for feature flags.

Link copied to clipboard

High-level API for interaction with feature flags. It allows to read and write their options.

Link copied to clipboard
interface OptionFactory

Factory that returns a matching option.

Properties

Link copied to clipboard
val <T : Feature<out T>> Class<out T>.defaultOption: T

Default option of a feature flag.

Link copied to clipboard

Description of a feature flag.

Link copied to clipboard
val <T : Feature<out T>> Class<out T>.options: Array<out T>

All available options of a feature flag.

Link copied to clipboard
val Class<out Feature<*>>.source: Class<out Feature<*>>?

Source of feature flag values.

Link copied to clipboard

Supervisor of a feature flag.