spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuilderMetadata.java
/**
	 * Attach this metadata to the given update callback.
	 * @param update the update used to attach the metadata
	 */
Attach this metadata to the given update callback.
@param update the update used to attach the metadata
Attach this metadata to the given update callback . @param update the update used to attach the metadata
void attachTo(ImageConfig.Update update) {
		try {
			String json = SharedObjectMapper.get().writeValueAsString(getNode());
			update.withLabel(LABEL_NAME, json);
		}
		catch (JsonProcessingException ex) {
			throw new IllegalStateException(ex);
		}
	}
void attachTo ( ImageConfig . Update update ) { try { String json = SharedObjectMapper . get ( ) . writeValueAsString ( getNode ( ) ) ; update . withLabel ( LABEL_NAME , json ) ; } catch ( JsonProcessingException ex ) { throw new IllegalStateException ( ex ) ; } }
Attach this metadata to the given update callback.
Attach this metadata to the given update callback .