public class LauncherUtils extends Object
Constructor and Description |
---|
LauncherUtils() |
Modifier and Type | Method and Description |
---|---|
static BLauncherException |
createUsageException(String errorMsg) |
static ProgramFile |
getExecutableProgram(ProgramFile programFile)
Get the executable program (
ProgramFile ) given the compiled program
(ProgramFile ). |
static Path |
getSourceRootPath(String sourceRoot) |
static void |
runMain(ProgramFile programFile,
String[] args) |
static void |
runProgram(Path sourceRootPath,
Path sourcePath,
boolean runServices,
String[] args) |
static void |
runServices(ProgramFile programFile) |
public static void runProgram(Path sourceRootPath, Path sourcePath, boolean runServices, String[] args)
public static void runMain(ProgramFile programFile, String[] args)
public static void runServices(ProgramFile programFile)
public static BLauncherException createUsageException(String errorMsg)
public static ProgramFile getExecutableProgram(ProgramFile programFile)
ProgramFile
) given the compiled program
(ProgramFile
).programFile
- Compiled programCopyright © 2018 WSO2. All rights reserved.