public class JoobyRun extends Object
| Constructor and Description |
|---|
JoobyRun(JoobyRunOptions options)
Creates a new instances with the given options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResource(Path path)
Add the given path to the project classpath.
|
boolean |
addResource(Path path,
BiConsumer<String,Path> callback)
Add the given path to the project classpath.
|
void |
restart()
Restart the application.
|
void |
shutdown()
Stop and shutdown the application.
|
void |
start()
Start the application.
|
String |
toString() |
public JoobyRun(JoobyRunOptions options)
options - Run options.public boolean addResource(Path path, BiConsumer<String,Path> callback)
path - Path.callback - Callback to listen for file changes.public boolean addResource(Path path)
path - Path.public void start()
throws Throwable
Throwable - If something goes wrong.public void restart()
public void shutdown()
Copyright © 2022. All rights reserved.