Interface Launcher
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractLauncher, BootstrapProjectLauncher, BuildProjectLauncher
Defines the methods provided by a launcher.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the launcher.Regenerate root project, seeCleanliness.resources(Stream<Project> projects, ResourceRequest<T> requested) Provide the requested resources from the given projects, using the context from the root project.resources(ResourceRequest<T> requested) Provide the requested resources from the root project, using the context from the root project.Return the root project.
-
Method Details
-
resources
Provide the requested resources from the given projects, using the context from the root project. The launcher must automatically regenerate the root project ifCleanlinesswas requested.- Type Parameters:
T- the requested type- Parameters:
projects- the projectsrequested- the request- Returns:
- the results
-
resources
Provide the requested resources from the root project, using the context from the root project.- Type Parameters:
T- the generic type- Parameters:
requested- the requested- Returns:
- the stream
-
rootProject
-
regenerateRootProject
Regenerate root project, seeCleanliness.- Returns:
- the root project
-
close
void close()Close the launcher. The re-declaration of this method removes theIOException, which is never thrown.- Specified by:
closein interfaceAutoCloseable
-