接口的使用
cn.taketoday.context.annotation.Condition
使用Condition的程序包
程序包
说明
@Condition annotations and supporting classes.-
cn.taketoday.context.annotation中Condition的使用
修饰符和类型接口说明interfaceAConditionthat offers more fine-grained control when used with@Configuration. -
cn.taketoday.context.condition中Condition的使用
修饰符和类型类说明classAbstract base class for nested conditions.classConditionthat will match when all nested class conditions match.classConditionthat will match when any nested class condition matches.classBase of allConditionimplementations used with Framework.classAbstract base class for aContextConditionthat also implementsAutoConfigurationImportFilter.classConditionthat will match when none of the nested class conditions match.classConditionthat checks if a property whose value is a list is defined in the environment.classContextConditionused to check if a resource can be found using a configurable property and optional default location(s).参数类型为Condition的cn.taketoday.context.condition中的方法修饰符和类型方法说明voidConditionEvaluationReport.ConditionAndOutcomes.add(Condition condition, ConditionOutcome outcome) protected final booleanContextCondition.anyMatches(ConditionEvaluationContext context, cn.taketoday.core.type.AnnotatedTypeMetadata metadata, Condition... conditions) Return true if any of the specified conditions match.protected final booleanContextCondition.matches(ConditionEvaluationContext context, cn.taketoday.core.type.AnnotatedTypeMetadata metadata, Condition condition) Return true if any of the specified condition matches.voidConditionEvaluationReport.recordConditionEvaluation(String source, Condition condition, ConditionOutcome outcome) Record the occurrence of condition evaluation.参数类型为Condition的cn.taketoday.context.condition中的构造器