public class DevLauncher extends Object implements LauncherService
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_PROJECTS |
| Constructor and Description |
|---|
DevLauncher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activeDebugMode(Launcher.CommandLineContext context)
Return true if debug mode should be activated.
|
void |
addCommandLineArgumentsConsumers(List<CommandLine.ArgumentsConsumer<Launcher.CommandLineContext>> consumers)
Add consumers for specific options.
|
boolean |
checkCommandLineContext(Launcher.CommandLineContext context,
List<String> errors)
Check the command line, fill errors if needed, and return true if this service is activated.
|
void |
getSearchProjectsPaths(Launcher.CommandLineContext context,
List<File> path)
Fill the given paths where to search for projects.
|
void |
printOptionsUsage()
Print usage for specific options.
|
public static final String EXTENSION_PROJECTS
public void addCommandLineArgumentsConsumers(List<CommandLine.ArgumentsConsumer<Launcher.CommandLineContext>> consumers)
LauncherServiceaddCommandLineArgumentsConsumers in interface LauncherServicepublic void printOptionsUsage()
LauncherServiceprintOptionsUsage in interface LauncherServicepublic boolean checkCommandLineContext(Launcher.CommandLineContext context, List<String> errors)
LauncherServicecheckCommandLineContext in interface LauncherServicecontext - command lineerrors - list of errors to fillpublic void getSearchProjectsPaths(Launcher.CommandLineContext context, List<File> path)
LauncherServicegetSearchProjectsPaths in interface LauncherServicepublic boolean activeDebugMode(Launcher.CommandLineContext context)
LauncherServiceactiveDebugMode in interface LauncherServiceCopyright © 2019. All rights reserved.