Uses of Interface
cloud.opencode.base.feature.strategy.EnableStrategy
Packages that use EnableStrategy
Package
Description
-
Uses of EnableStrategy in cloud.opencode.base.feature
Methods in cloud.opencode.base.feature that return EnableStrategyModifier and TypeMethodDescriptionFeature.strategy()Returns the value of thestrategyrecord component.Methods in cloud.opencode.base.feature with parameters of type EnableStrategyModifier and TypeMethodDescriptionFeature.Builder.strategy(EnableStrategy strategy) Set enable strategy 设置启用策略voidOpenFeature.updateStrategy(String key, EnableStrategy strategy) Update feature strategy 更新功能策略Feature.withStrategy(EnableStrategy newStrategy) Create a copy with updated strategy 创建具有更新策略的副本Constructors in cloud.opencode.base.feature with parameters of type EnableStrategyModifierConstructorDescriptionFeature(String key, String name, String description, boolean defaultEnabled, EnableStrategy strategy, Map<String, Object> metadata, String group, Instant expiresAt, FeatureLifecycle lifecycle, Instant createdAt, Instant updatedAt) Compact constructor with validation and defensive copy 带验证和防御性复制的紧凑构造函数 -
Uses of EnableStrategy in cloud.opencode.base.feature.security
Methods in cloud.opencode.base.feature.security with parameters of type EnableStrategyModifier and TypeMethodDescriptionvoidSecureFeatureManager.updateStrategy(String featureKey, EnableStrategy strategy, String operatorId) Update feature strategy (requires admin) 更新功能策略(需要管理员) -
Uses of EnableStrategy in cloud.opencode.base.feature.strategy
Classes in cloud.opencode.base.feature.strategy that implement EnableStrategyModifier and TypeClassDescriptionclassAlways Off Strategy 始终禁用策略classAlways On Strategy 始终启用策略classComposite Strategy 组合策略classConsistent Percentage Strategy 一致性哈希百分比策略classDate Range Strategy 日期范围策略classEnvironment-Based Enable Strategy 基于环境的启用策略final classExpression-based Enable Strategy with Optional Expression Module Delegation 支持可选表达式模块委托的基于表达式的启用策略classPercentage Strategy 百分比策略classTenant Aware Strategy 租户感知策略classUser List Strategy 用户列表策略Methods in cloud.opencode.base.feature.strategy that return EnableStrategyModifier and TypeMethodDescriptionTenantAwareStrategy.getFallbackStrategy()Get fallback strategy 获取回退策略Methods in cloud.opencode.base.feature.strategy that return types with arguments of type EnableStrategyMethods in cloud.opencode.base.feature.strategy with parameters of type EnableStrategyModifier and TypeMethodDescriptionstatic CompositeStrategyCompositeStrategy.allOf(EnableStrategy... strategies) Create AND composite (all strategies must pass) 创建AND组合(所有策略必须通过)static CompositeStrategyCompositeStrategy.anyOf(EnableStrategy... strategies) Create OR composite (any strategy must pass) 创建OR组合(任一策略通过即可)Method parameters in cloud.opencode.base.feature.strategy with type arguments of type EnableStrategyModifier and TypeMethodDescriptionstatic CompositeStrategyCompositeStrategy.allOf(List<EnableStrategy> strategies) Create AND composite from list 从列表创建AND组合static CompositeStrategyCompositeStrategy.anyOf(List<EnableStrategy> strategies) Create OR composite from list 从列表创建OR组合Constructors in cloud.opencode.base.feature.strategy with parameters of type EnableStrategyModifierConstructorDescriptionTenantAwareStrategy(Map<String, Boolean> tenantOverrides, EnableStrategy fallbackStrategy) Create tenant aware strategy 创建租户感知策略Constructor parameters in cloud.opencode.base.feature.strategy with type arguments of type EnableStrategyModifierConstructorDescriptionCompositeStrategy(List<EnableStrategy> strategies, boolean requireAll) Create composite strategy 创建组合策略