|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.dotnet.executable.impl.ThreadedNetExecutable
public class ThreadedNetExecutable
Provides a service for executing a command within a separate thread. This will be used for executing long-running processes.
Constructor Summary | |
---|---|
ThreadedNetExecutable()
|
Method Summary | |
---|---|
void |
execute()
Compiles class files. |
java.util.List<java.lang.String> |
getCommands()
Returns the commands that this compiler will use to compile the application. |
java.lang.String |
getExecutable()
Returns the executable file name that this compiler will use to compile the application. |
java.io.File |
getExecutionPath()
Returns the parent directory of the executable. |
Vendor |
getVendor()
Returns vendor framework used to run executable. |
void |
init(NMavenContext nmavenContext)
Initialize this compiler. |
void |
resetCommands(java.util.List<java.lang.String> commands)
Resets the commands to be used by the executable. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadedNetExecutable()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
public java.util.List<java.lang.String> getCommands() throws ExecutionException
NetExecutable
getCommands
in interface NetExecutable
ExecutionException
public void resetCommands(java.util.List<java.lang.String> commands)
NetExecutable
resetCommands
in interface NetExecutable
public java.io.File getExecutionPath()
NetExecutable
getExecutionPath
in interface NetExecutable
public void execute() throws ExecutionException
NetExecutable
execute
in interface NetExecutable
ExecutionException
- if the compiler writes to the standard error stream.
artifact (module, library, exe, winexe) or the target artifact is not valid for the compilerpublic java.lang.String getExecutable() throws ExecutionException
NetExecutable
getExecutable
in interface NetExecutable
ExecutionException
public Vendor getVendor()
NetExecutable
getVendor
in interface NetExecutable
public void init(NMavenContext nmavenContext)
NetExecutable
init
in interface NetExecutable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |