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

setEnabled() — spring-boot Function Reference

Architecture documentation for the setEnabled() function in AnsiOutput.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9af65c70_d05f_3e3a_8fc4_35c4585d87e8["setEnabled()"]
  dcea80a3_dcc3_cb8c_2af2_48b3c0cd45cc["reset()"]
  dcea80a3_dcc3_cb8c_2af2_48b3c0cd45cc -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  d956a4f5_11ce_15b0_0154_9dec5519b3cb["renderWithColors()"]
  d956a4f5_11ce_15b0_0154_9dec5519b3cb -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  19a2522f_b1a5_871f_9a8d_21c63f7cb757["renderWithColorsButDisabled()"]
  19a2522f_b1a5_871f_9a8d_21c63f7cb757 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  a588ce88_7930_435a_c29b_4ed97dd690c8["renderWith256Colors()"]
  a588ce88_7930_435a_c29b_4ed97dd690c8 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  57547742_08fe_df77_5452_056ff5269988["renderWith256ColorsButDisabled()"]
  57547742_08fe_df77_5452_056ff5269988 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  20a3ef88_de71_8eb3_85cc_50fa56e90e61["setupAnsi()"]
  20a3ef88_de71_8eb3_85cc_50fa56e90e61 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  89f85ed2_0e28_b2ba_e665_65d9cb355a04["resetAnsi()"]
  89f85ed2_0e28_b2ba_e665_65d9cb355a04 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  19251ccf_104d_8c7d_0ec4_1e1fc456f667["setupAnsi()"]
  19251ccf_104d_8c7d_0ec4_1e1fc456f667 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  f72399f3_afda_1686_135b_5761f4d5cba7["resetAnsi()"]
  f72399f3_afda_1686_135b_5761f4d5cba7 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  17c2ae8f_2497_03f7_866f_b7ee78bb3062["resetAnsi()"]
  17c2ae8f_2497_03f7_866f_b7ee78bb3062 -->|calls| 9af65c70_d05f_3e3a_8fc4_35c4585d87e8
  style 9af65c70_d05f_3e3a_8fc4_35c4585d87e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java lines 58–61

	public static void setEnabled(Enabled enabled) {
		Assert.notNull(enabled, "'enabled' must not be null");
		AnsiOutput.enabled = enabled;
	}

Domain

Subdomains

Called By

  • renderWith256Colors()
  • renderWith256ColorsButDisabled()
  • renderWithColors()
  • renderWithColorsButDisabled()
  • reset()
  • resetAnsi()
  • resetAnsi()
  • resetAnsi()
  • setupAnsi()
  • setupAnsi()

Frequently Asked Questions

What does setEnabled() do?
setEnabled() is a function in the spring-boot codebase.
What calls setEnabled()?
setEnabled() is called by 10 function(s): renderWith256Colors, renderWith256ColorsButDisabled, renderWithColors, renderWithColorsButDisabled, reset, resetAnsi, resetAnsi, resetAnsi, and 2 more.

Analyze Your Own Codebase

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

Try Supermodel Free