- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for registerShutdownHook (0.21 sec)
-
maven-jline/src/main/java/org/apache/maven/jline/MessageUtils.java
}); } private static LineReader createReader(Terminal terminal) { return LineReaderBuilder.builder().terminal(terminal).build(); } public static void registerShutdownHook() { if (shutdownHook == null) { shutdownHook = new Thread(() -> { synchronized (MessageUtils.STARTUP_SHUTDOWN_MONITOR) { MessageUtils.doSystemUninstall();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 13:48:49 UTC 2024 - 3.3K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
System.exit(result); } public static int main(String[] args, ClassWorld classWorld) { MavenCli cli = new MavenCli(); MessageUtils.systemInstall(); MessageUtils.registerShutdownHook(); int result = cli.doMain(new CliRequest(args, classWorld)); MessageUtils.systemUninstall(); return result; } // TODO need to externalize CliRequest
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 72.6K bytes - Viewed (0)