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

add() — spring-boot Function Reference

Architecture documentation for the add() function in ConfigurationMetadataRepositoryJsonBuilder.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  a9719ebb_d5e1_7e1b_1af1_9531ff6ad0a7["add()"]
  d8241149_1bf3_ad4e_0b4d_6cb07e5b6189["withJsonResource()"]
  d8241149_1bf3_ad4e_0b4d_6cb07e5b6189 -->|calls| a9719ebb_d5e1_7e1b_1af1_9531ff6ad0a7
  b26f93b5_53e1_8e1d_36ee_ab36f6f33ea3["create()"]
  b26f93b5_53e1_8e1d_36ee_ab36f6f33ea3 -->|calls| a9719ebb_d5e1_7e1b_1af1_9531ff6ad0a7
  b26f93b5_53e1_8e1d_36ee_ab36f6f33ea3["create()"]
  a9719ebb_d5e1_7e1b_1af1_9531ff6ad0a7 -->|calls| b26f93b5_53e1_8e1d_36ee_ab36f6f33ea3
  style a9719ebb_d5e1_7e1b_1af1_9531ff6ad0a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilder.java lines 94–105

	private SimpleConfigurationMetadataRepository add(InputStream in, Charset charset) throws IOException {
		try {
			RawConfigurationMetadata metadata = this.reader.read(in, charset);
			return create(metadata);
		}
		catch (IOException ex) {
			throw ex;
		}
		catch (Exception ex) {
			throw new IllegalStateException("Failed to read configuration metadata", ex);
		}
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does add() do?
add() is a function in the spring-boot codebase.
What does add() call?
add() calls 1 function(s): create.
What calls add()?
add() is called by 2 function(s): create, withJsonResource.

Analyze Your Own Codebase

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

Try Supermodel Free