Package-level declarations

Types

Link copied to clipboard

DSL builder for constructing a set of identifiers used by list-based strategies.

Link copied to clipboard

DSL builder for constructing a set of DayOfWeek used by WeekdayStrategy.

Functions

Link copied to clipboard

Configures an AllowListStrategy for this feature.

Link copied to clipboard

Configures a ClientFilterStrategy for this feature.

Link copied to clipboard
fun FeatureBuilder.dailyHoursStrategy(startHour: Int, endHour: Int, timezone: ERROR CLASS: Symbol not found for TimeZone = TimeZone.UTC)

Configures a DailyHoursStrategy for this feature.

Link copied to clipboard
fun FeatureBuilder.dateRangeStrategy(startDate: ERROR CLASS: Symbol not found for Instant, endDate: ERROR CLASS: Symbol not found for Instant)

Configures a DateRangeStrategy for this feature using Instant values.

fun FeatureBuilder.dateRangeStrategy(startDate: String, endDate: String)

Configures a DateRangeStrategy for this feature using ISO-8601 date strings.

fun FeatureBuilder.dateRangeStrategy(startDate: ERROR CLASS: Symbol not found for LocalDateTime, endDate: ERROR CLASS: Symbol not found for LocalDateTime, timezone: ERROR CLASS: Symbol not found for TimeZone = TimeZone.UTC)

Configures a DateRangeStrategy for this feature using LocalDateTime values and timezone.

Link copied to clipboard

Configures a DenyListStrategy for this feature.

Link copied to clipboard

Configures a PonderationStrategy for this feature with a decimal weight.

Configures a PonderationStrategy for this feature with an integer percentage.

Link copied to clipboard

Configures a RegionFilterStrategy for this feature.

Link copied to clipboard
fun FeatureBuilder.releaseDateStrategy(releaseDate: ERROR CLASS: Symbol not found for Instant)

Configures a ReleaseDateStrategy for this feature using an Instant.

Configures a ReleaseDateStrategy for this feature using an ISO-8601 date string.

fun FeatureBuilder.releaseDateStrategy(dateTime: ERROR CLASS: Symbol not found for LocalDateTime, timezone: ERROR CLASS: Symbol not found for TimeZone = TimeZone.UTC)

Configures a ReleaseDateStrategy for this feature using a LocalDateTime and timezone.

Link copied to clipboard

Configures a ServerFilterStrategy for this feature.

Link copied to clipboard

Configures a UserPonderationStrategy for this feature with a decimal weight.

Configures a UserPonderationStrategy for this feature with an integer percentage.

Link copied to clipboard
fun FeatureBuilder.weekdayStrategy(timezone: ERROR CLASS: Symbol not found for TimeZone = TimeZone.UTC, block: WeekdayBuilder.() -> Unit)

Configures a WeekdayStrategy for this feature using a DSL builder.