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

shouldAnalyze() — spring-boot Function Reference

Architecture documentation for the shouldAnalyze() function in BundleContentNotWatchableFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  35a9ff51_befd_6b5b_a92e_62193babc62c["shouldAnalyze()"]
  8d6d7a49_9078_1454_58b7_c7db56ae9270["performAnalysis()"]
  35a9ff51_befd_6b5b_a92e_62193babc62c -->|calls| 8d6d7a49_9078_1454_58b7_c7db56ae9270
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  35a9ff51_befd_6b5b_a92e_62193babc62c -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"]
  35a9ff51_befd_6b5b_a92e_62193babc62c -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1
  style 35a9ff51_befd_6b5b_a92e_62193babc62c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/BundleContentNotWatchableFailureAnalyzerTests.java lines 33–42

	@Test
	void shouldAnalyze() {
		FailureAnalysis failureAnalysis = performAnalysis(null);
		assertThat(failureAnalysis).isNotNull();
		assertThat(failureAnalysis.getDescription()).isEqualTo(
				"The content of 'name' is not watchable. Only 'file:' resources are watchable, but 'classpath:resource.pem' has been set");
		assertThat(failureAnalysis.getAction())
			.isEqualTo("Update your application to correct the invalid configuration:\n"
					+ "Either use a watchable resource, or disable bundle reloading by setting reload-on-update = false on the bundle.");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does shouldAnalyze() do?
shouldAnalyze() is a function in the spring-boot codebase.
What does shouldAnalyze() call?
shouldAnalyze() calls 3 function(s): getAction, getDescription, performAnalysis.

Analyze Your Own Codebase

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

Try Supermodel Free