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 DslExtensions calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  f6b65c30_640a_fc83_1e63_2bc774e6eb55["getOutcomes()"]
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6["getOutcomes()"]
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6 -->|calls| f6b65c30_640a_fc83_1e63_2bc774e6eb55
  af52acaa_e87e_14f8_9fa1_1b7b4ba828a6["getOutcomes()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55 -->|calls| af52acaa_e87e_14f8_9fa1_1b7b4ba828a6
  9bce07f5_3ffd_5ddd_4241_ce4080edd729["resolveOutcomesThreaded()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55 -->|calls| 9bce07f5_3ffd_5ddd_4241_ce4080edd729
  69690d75_97f8_bb76_71b1_b5fa80ed6821["StandardOutcomesResolver()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55 -->|calls| 69690d75_97f8_bb76_71b1_b5fa80ed6821
  aaf5e7ca_9c6f_4394_b8fd_f73a35ca4c79["resolveOutcomes()"]
  f6b65c30_640a_fc83_1e63_2bc774e6eb55 -->|calls| aaf5e7ca_9c6f_4394_b8fd_f73a35ca4c79
  style f6b65c30_640a_fc83_1e63_2bc774e6eb55 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 48–62

	@Override
	protected final @Nullable ConditionOutcome[] getOutcomes(@Nullable String[] autoConfigurationClasses,
			AutoConfigurationMetadata autoConfigurationMetadata) {
		// Split the work and perform half in a background thread if more than one
		// processor is available. Using a single additional thread seems to offer the
		// best performance. More threads make things worse.
		if (autoConfigurationClasses.length > 1 && Runtime.getRuntime().availableProcessors() > 1) {
			return resolveOutcomesThreaded(autoConfigurationClasses, autoConfigurationMetadata);
		}
		else {
			OutcomesResolver outcomesResolver = new StandardOutcomesResolver(autoConfigurationClasses, 0,
					autoConfigurationClasses.length, autoConfigurationMetadata, getBeanClassLoader());
			return outcomesResolver.resolveOutcomes();
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free