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

getProgress() — spring-boot Function Reference

Architecture documentation for the getProgress() function in TotalProgressListener.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d6291b65_a57a_c705_5227_5bc2b921fbe9["getProgress()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a["onUpdate()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a -->|calls| d6291b65_a57a_c705_5227_5bc2b921fbe9
  b4f3b9ee_11c2_526a_fa6e_74bafcc6ad0c["publish()"]
  b4f3b9ee_11c2_526a_fa6e_74bafcc6ad0c -->|calls| d6291b65_a57a_c705_5227_5bc2b921fbe9
  704eafb8_6ede_eb3d_1bbf_81405bca2adc["withinPercentageBounds()"]
  d6291b65_a57a_c705_5227_5bc2b921fbe9 -->|calls| 704eafb8_6ede_eb3d_1bbf_81405bca2adc
  style d6291b65_a57a_c705_5227_5bc2b921fbe9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListener.java lines 125–128

		int getProgress() {
			return withinPercentageBounds((this.progressByStatus.values().stream().mapToInt(Integer::intValue).sum())
					/ this.progressByStatus.size());
		}

Subdomains

Frequently Asked Questions

What does getProgress() do?
getProgress() is a function in the spring-boot codebase.
What does getProgress() call?
getProgress() calls 1 function(s): withinPercentageBounds.
What calls getProgress()?
getProgress() is called by 2 function(s): onUpdate, publish.

Analyze Your Own Codebase

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

Try Supermodel Free