runInputLoop() — spring-boot Function Reference
Architecture documentation for the runInputLoop() function in Shell.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 214c962d_8073_5c5a_1fa9_47c3dea3d1f4["runInputLoop()"] f16938da_3006_63ee_97a5_d93dc922f67b["run()"] f16938da_3006_63ee_97a5_d93dc922f67b -->|calls| 214c962d_8073_5c5a_1fa9_47c3dea3d1f4 96cd8231_8dfa_f508_2806_734cb69e1f86["getPrompt()"] 214c962d_8073_5c5a_1fa9_47c3dea3d1f4 -->|calls| 96cd8231_8dfa_f508_2806_734cb69e1f86 146781aa_36d9_10e6_eb21_8c24c5539805["runAndHandleErrors()"] 214c962d_8073_5c5a_1fa9_47c3dea3d1f4 -->|calls| 146781aa_36d9_10e6_eb21_8c24c5539805 style 214c962d_8073_5c5a_1fa9_47c3dea3d1f4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java lines 149–161
private void runInputLoop() throws Exception {
String line;
while ((line = this.consoleReader.readLine(getPrompt())) != null) {
while (line.endsWith("\\")) {
line = line.substring(0, line.length() - 1);
line += this.consoleReader.readLine("> ");
}
if (StringUtils.hasLength(line)) {
String[] args = this.argumentDelimiter.parseArguments(line);
this.commandRunner.runAndHandleErrors(args);
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does runInputLoop() do?
runInputLoop() is a function in the spring-boot codebase.
What does runInputLoop() call?
runInputLoop() calls 2 function(s): getPrompt, runAndHandleErrors.
What calls runInputLoop()?
runInputLoop() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free