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

Spec() — spring-boot Function Reference

Architecture documentation for the Spec() function in OnPropertyCondition.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  fc8883cb_fd6a_e1e3_6f0b_127286926064["Spec()"]
  51330037_1cc3_1027_c2bb_41b74657062b["determineOutcome()"]
  51330037_1cc3_1027_c2bb_41b74657062b -->|calls| fc8883cb_fd6a_e1e3_6f0b_127286926064
  7fb931b5_f968_fca9_a6f4_d9d1404c1d7f["getPrefix()"]
  fc8883cb_fd6a_e1e3_6f0b_127286926064 -->|calls| 7fb931b5_f968_fca9_a6f4_d9d1404c1d7f
  c4685ccd_454f_937c_be72_d4c84cd3a10f["getNames()"]
  fc8883cb_fd6a_e1e3_6f0b_127286926064 -->|calls| c4685ccd_454f_937c_be72_d4c84cd3a10f
  5c850244_8915_5749_179f_d8bc25333753["getHavingValue()"]
  fc8883cb_fd6a_e1e3_6f0b_127286926064 -->|calls| 5c850244_8915_5749_179f_d8bc25333753
  style fc8883cb_fd6a_e1e3_6f0b_127286926064 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyCondition.java lines 130–136

		Spec(Class<? extends Annotation> annotationType, AnnotationAttributes annotationAttributes) {
			this.annotationType = annotationType;
			this.prefix = (!annotationAttributes.containsKey("prefix")) ? "" : getPrefix(annotationAttributes);
			this.names = getNames(annotationAttributes);
			this.havingValue = getHavingValue(annotationAttributes);
			this.matchIfMissing = annotationAttributes.getBoolean("matchIfMissing");
		}

Domain

Subdomains

Calls

  • getHavingValue()
  • getNames()
  • getPrefix()

Called By

Frequently Asked Questions

What does Spec() do?
Spec() is a function in the spring-boot codebase.
What does Spec() call?
Spec() calls 3 function(s): getHavingValue, getNames, getPrefix.
What calls Spec()?
Spec() is called by 1 function(s): determineOutcome.

Analyze Your Own Codebase

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

Try Supermodel Free