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

onUpdate() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b4265e8d_037a_b23b_d852_245a5e391f1a["onUpdate()"]
  84e98360_1126_2860_05e1_3695d11af1a4["Layer()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a -->|calls| 84e98360_1126_2860_05e1_3695d11af1a4
  437a38a4_9ec1_1db9_2a71_8d348b6af025["update()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a -->|calls| 437a38a4_9ec1_1db9_2a71_8d348b6af025
  d6291b65_a57a_c705_5227_5bc2b921fbe9["getProgress()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a -->|calls| d6291b65_a57a_c705_5227_5bc2b921fbe9
  b4f3b9ee_11c2_526a_fa6e_74bafcc6ad0c["publish()"]
  b4265e8d_037a_b23b_d852_245a5e391f1a -->|calls| b4f3b9ee_11c2_526a_fa6e_74bafcc6ad0c
  style b4265e8d_037a_b23b_d852_245a5e391f1a 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 62–71

	@Override
	public void onUpdate(E event) {
		if (event.getId() != null) {
			this.layers.computeIfAbsent(event.getId(), (value) -> new Layer(this.trackedStatusKeys)).update(event);
		}
		this.progressStarted = this.progressStarted || event.getProgress() != null;
		if (this.progressStarted) {
			publish(0);
		}
	}

Subdomains

Frequently Asked Questions

What does onUpdate() do?
onUpdate() is a function in the spring-boot codebase.
What does onUpdate() call?
onUpdate() calls 4 function(s): Layer, getProgress, publish, update.

Analyze Your Own Codebase

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

Try Supermodel Free