private static class CompileWorker.CompilationJob extends Object
Modifier and Type | Field and Description |
---|---|
private ArrayList |
classpath |
private ArrayList |
files |
private LocaleDatabase |
langpack |
private CompileHandler |
listener |
private static int |
MAX_CMDLINE_SIZE |
private String |
name |
Constructor and Description |
---|
CompilationJob(CompileHandler listener,
LocaleDatabase langpack,
ArrayList files,
ArrayList classpath) |
CompilationJob(CompileHandler listener,
LocaleDatabase langpack,
String name,
ArrayList files,
ArrayList classpath) |
Modifier and Type | Method and Description |
---|---|
CompileResult |
checkCompiler(String compiler,
ArrayList arguments)
Check whether the given compiler works.
|
String |
getName() |
int |
getSize() |
CompileResult |
perform(String compiler,
ArrayList arguments) |
private CompileHandler listener
private LocaleDatabase langpack
private static final int MAX_CMDLINE_SIZE
public CompilationJob(CompileHandler listener, LocaleDatabase langpack, ArrayList files, ArrayList classpath)
public CompilationJob(CompileHandler listener, LocaleDatabase langpack, String name, ArrayList files, ArrayList classpath)
public int getSize()
public CompileResult perform(String compiler, ArrayList arguments)
public CompileResult checkCompiler(String compiler, ArrayList arguments)
compiler
- the compiler to usearguments
- additional arguments to pass to the compilerWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses