Home / Function/ getMatchOutcome() — spring-boot Function Reference

getMatchOutcome() — spring-boot Function Reference

Architecture documentation for the getMatchOutcome() function in OnPropertyListCondition.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ee0c7f09_4a97_921c_da18_69228d8d406c["getMatchOutcome()"]
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  ee0c7f09_4a97_921c_da18_69228d8d406c -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  efccbd4b_9f04_263f_e38e_f5db481dd03f["isBound()"]
  ee0c7f09_4a97_921c_da18_69228d8d406c -->|calls| efccbd4b_9f04_263f_e38e_f5db481dd03f
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  ee0c7f09_4a97_921c_da18_69228d8d406c -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0
  style ee0c7f09_4a97_921c_da18_69228d8d406c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyListCondition.java lines 56–64

	@Override
	public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) {
		BindResult<?> property = Binder.get(context.getEnvironment()).bind(this.propertyName, STRING_LIST);
		ConditionMessage.Builder messageBuilder = this.messageBuilder.get();
		if (property.isBound()) {
			return ConditionOutcome.match(messageBuilder.found("property").items(this.propertyName));
		}
		return ConditionOutcome.noMatch(messageBuilder.didNotFind("property").items(this.propertyName));
	}

Domain

Subdomains

Frequently Asked Questions

What does getMatchOutcome() do?
getMatchOutcome() is a function in the spring-boot codebase.
What does getMatchOutcome() call?
getMatchOutcome() calls 3 function(s): bind, get, isBound.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free