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

getOutcomes() — spring-boot Function Reference

Architecture documentation for the getOutcomes() function in OnClassCondition.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6["getOutcomes()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55["getOutcomes()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55 -->|calls| af52acaa_e87e_14f8_9fa1_1b7b4ba828a6
  f54093a2_0077_cddb_ef60_6cbb9904c89f["resolveOutcomes()"]
  f54093a2_0077_cddb_ef60_6cbb9904c89f -->|calls| af52acaa_e87e_14f8_9fa1_1b7b4ba828a6
  f6b65c30_640a_fc83_1e63_2bc774e6eb55["getOutcomes()"]
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6 -->|calls| f6b65c30_640a_fc83_1e63_2bc774e6eb55
  6330bb18_5146_df08_c108_c919d09440b7["getOutcome()"]
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6 -->|calls| 6330bb18_5146_df08_c108_c919d09440b7
  style af52acaa_e87e_14f8_9fa1_1b7b4ba828a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnClassCondition.java lines 209–222

		private @Nullable ConditionOutcome[] getOutcomes(@Nullable String[] autoConfigurationClasses, int start,
				int end, AutoConfigurationMetadata autoConfigurationMetadata) {
			@Nullable ConditionOutcome[] outcomes = new ConditionOutcome[end - start];
			for (int i = start; i < end; i++) {
				String autoConfigurationClass = autoConfigurationClasses[i];
				if (autoConfigurationClass != null) {
					String candidates = autoConfigurationMetadata.get(autoConfigurationClass, "ConditionalOnClass");
					if (candidates != null) {
						outcomes[i - start] = getOutcome(candidates);
					}
				}
			}
			return outcomes;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getOutcomes() do?
getOutcomes() is a function in the spring-boot codebase.
What does getOutcomes() call?
getOutcomes() calls 2 function(s): getOutcome, getOutcomes.
What calls getOutcomes()?
getOutcomes() is called by 2 function(s): getOutcomes, resolveOutcomes.

Analyze Your Own Codebase

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

Try Supermodel Free