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

getLayerNames() — spring-boot Function Reference

Architecture documentation for the getLayerNames() function in AbstractBootArchiveTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b82502c5_6ffe_1f68_515e_cde48522c0a9["getLayerNames()"]
  f1401408_a756_dace_a255_79bc239f6fe4["whenJarIsLayeredThenLayersIndexIsPresentAndCorrect()"]
  f1401408_a756_dace_a255_79bc239f6fe4 -->|calls| b82502c5_6ffe_1f68_515e_cde48522c0a9
  4b7ce582_88c3_a92b_fe9a_eddfdc546fdb["whenJarIsLayeredWithCustomStrategiesThenLayersIndexIsPresentAndCorrect()"]
  4b7ce582_88c3_a92b_fe9a_eddfdc546fdb -->|calls| b82502c5_6ffe_1f68_515e_cde48522c0a9
  style b82502c5_6ffe_1f68_515e_cde48522c0a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java lines 775–783

	private Set<String> getLayerNames(List<String> index) {
		Set<String> layerNames = new LinkedHashSet<>();
		for (String line : index) {
			if (line.startsWith("- ")) {
				layerNames.add(line.substring(3, line.length() - 2));
			}
		}
		return layerNames;
	}

Domain

Subdomains

Frequently Asked Questions

What does getLayerNames() do?
getLayerNames() is a function in the spring-boot codebase.
What calls getLayerNames()?
getLayerNames() is called by 2 function(s): whenJarIsLayeredThenLayersIndexIsPresentAndCorrect, whenJarIsLayeredWithCustomStrategiesThenLayersIndexIsPresentAndCorrect.

Analyze Your Own Codebase

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

Try Supermodel Free