|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.compile.CompileWorker
public class CompileWorker
This class does alle the work for compiling sources.
It responsible for
| Constructor Summary | |
|---|---|
CompileWorker(InstallData installData,
CompileHandler handler,
VariableSubstitutor variableSubstitutor,
Resources resources,
PlatformModelMatcher matcher)
The constructor. |
|
| Method Summary | |
|---|---|
ArrayList<String> |
getAvailableArguments()
Return list of compiler arguments to choose from. |
ArrayList<String> |
getAvailableCompilers()
Return list of compilers to choose from. |
String |
getCompiler()
Get the compiler used. |
String |
getCompilerArguments()
Get the compiler arguments used. |
CompileResult |
getResult()
Get the result of the compilation. |
void |
run()
This is called when the compilation thread is activated. |
void |
setCompiler(String compiler)
Set the compiler to use. |
void |
setCompilerArguments(String arguments)
Set the compiler arguments to use. |
void |
startThread()
Start the compilation in a separate thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompileWorker(InstallData installData,
CompileHandler handler,
VariableSubstitutor variableSubstitutor,
Resources resources,
PlatformModelMatcher matcher)
throws IOException
installData - the installation datahandler - the handler to notify of progressvariableSubstitutor - the variable substituterresources - the resourcesmatcher - The platform-model matcher
IOException - for any I/O error| Method Detail |
|---|
public ArrayList<String> getAvailableCompilers()
public void setCompiler(String compiler)
compiler - compiler to use (not checked)public String getCompiler()
public ArrayList<String> getAvailableArguments()
public void setCompilerArguments(String arguments)
arguments - The argument to use.public String getCompilerArguments()
public CompileResult getResult()
public void startThread()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||