类 OnPropertyListCondition

java.lang.Object
cn.taketoday.context.condition.ContextCondition
cn.taketoday.context.condition.OnPropertyListCondition
所有已实现的接口:
Condition

public class OnPropertyListCondition extends ContextCondition
Condition that checks if a property whose value is a list is defined in the environment.
从以下版本开始:
4.0 2022/4/4 13:32
作者:
Eneias Silva, Stephane Nicoll, Harry Yang
  • 构造器详细资料

    • OnPropertyListCondition

      protected OnPropertyListCondition(String propertyName, Supplier<ConditionMessage.Builder> messageBuilder)
      Create a new instance with the property to check and the message builder to use.
      参数:
      propertyName - the name of the property
      messageBuilder - a message builder supplier that should provide a fresh instance on each call
  • 方法详细资料