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

isEnabled() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  aad1f775_a1ec_ed73_3b28_450f076a0c87["isEnabled()"]
  49174d37_14e8_8863_02dd_6c10060ec92b["encode()"]
  49174d37_14e8_8863_02dd_6c10060ec92b -->|calls| aad1f775_a1ec_ed73_3b28_450f076a0c87
  760ae716_7779_7c74_0d0e_e4f834a0eb3f["toString()"]
  760ae716_7779_7c74_0d0e_e4f834a0eb3f -->|calls| aad1f775_a1ec_ed73_3b28_450f076a0c87
  299467e2_36cd_30cf_62cd_adafed19966b["detectIfAnsiCapable()"]
  aad1f775_a1ec_ed73_3b28_450f076a0c87 -->|calls| 299467e2_36cd_30cf_62cd_adafed19966b
  style aad1f775_a1ec_ed73_3b28_450f076a0c87 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java lines 146–154

	private static boolean isEnabled() {
		if (enabled == Enabled.DETECT) {
			if (ansiCapable == null) {
				ansiCapable = detectIfAnsiCapable();
			}
			return ansiCapable;
		}
		return enabled == Enabled.ALWAYS;
	}

Domain

Subdomains

Calls

  • detectIfAnsiCapable()

Called By

Frequently Asked Questions

What does isEnabled() do?
isEnabled() is a function in the spring-boot codebase.
What does isEnabled() call?
isEnabled() calls 1 function(s): detectIfAnsiCapable.
What calls isEnabled()?
isEnabled() is called by 2 function(s): encode, toString.

Analyze Your Own Codebase

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

Try Supermodel Free