of() — spring-boot Function Reference
Architecture documentation for the of() function in DockerComposeFile.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0a841a8a_20f1_c517_4b01_0f36d68146a5["of()"] 373d314e_870d_8050_07db_6b56900be698["find()"] 373d314e_870d_8050_07db_6b56900be698 -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 d4e529c4_6f38_ee07_32db_91c37f74e3ac["getComposeFile()"] d4e529c4_6f38_ee07_32db_91c37f74e3ac -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 0283c010_c4fc_51c9_be91_20181bfc371d["getJksSslBundle()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 cb61bae9_bc75_cee0_b15a_c6c046a4fe3e["getWorkingDirectory()"] cb61bae9_bc75_cee0_b15a_c6c046a4fe3e -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 6999b737_339b_e651_88a1_d0879bcbbd8e["createSslOptions()"] 6999b737_339b_e651_88a1_d0879bcbbd8e -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 a59f1b18_ec67_6629_09af_f76e6d6179b7["getPemSslBundle()"] a59f1b18_ec67_6629_09af_f76e6d6179b7 -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 aaca01c0_cd76_8a31_4f6e_fdf2c8648cba["DockerComposeFile()"] 0a841a8a_20f1_c517_4b01_0f36d68146a5 -->|calls| aaca01c0_cd76_8a31_4f6e_fdf2c8648cba style 0a841a8a_20f1_c517_4b01_0f36d68146a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerComposeFile.java lines 133–138
public static DockerComposeFile of(File file) {
Assert.notNull(file, "'file' must not be null");
Assert.isTrue(file.exists(), () -> "'file' [%s] must exist".formatted(file));
Assert.isTrue(file.isFile(), () -> "'file' [%s] must be a normal file".formatted(file));
return new DockerComposeFile(Collections.singletonList(file));
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 1 function(s): DockerComposeFile.
What calls of()?
of() is called by 6 function(s): createSslOptions, find, getComposeFile, getJksSslBundle, getPemSslBundle, getWorkingDirectory.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free