StopCommand Type — spring-boot Architecture
Architecture documentation for the StopCommand type/interface in StopCommand.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/lifecycle/StopCommand.java lines 32–61
public enum StopCommand {
/**
* Stop using {@code docker compose down}.
*/
DOWN(DockerCompose::down),
/**
* Stop using {@code docker compose stop}.
*/
STOP(DockerCompose::stop);
private final Command command;
StopCommand(Command command) {
this.command = command;
}
void applyTo(DockerCompose dockerCompose, Duration timeout, List<String> arguments) {
this.command.applyTo(dockerCompose, timeout, arguments);
}
@FunctionalInterface
private interface Command {
void applyTo(DockerCompose dockerCompose, Duration timeout, List<String> arguments);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free