org.inxar.hotswap
Class ProxyCompileEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.inxar.hotswap.ProxyEvent
|
+--org.inxar.hotswap.ProxyCompileEvent
- All Implemented Interfaces:
- Serializable
- public class ProxyCompileEvent
- extends ProxyEvent
ProxyEvent
subtype fired by the
ProxyCompiler
after a compilation.
- Since:
- 0.8.2
- See Also:
- Serialized Form
Constructor Summary |
ProxyCompileEvent(ProxyCompiler source,
String className,
String cmd,
String out,
String err,
int rc)
Standard constructor originates from the given
ProxyCompiler source and carries the command
string that was executed, any standard output and any standard
error, and the return code of the
ProxyCompiler.compile method. |
ProxyCompileEvent
public ProxyCompileEvent(ProxyCompiler source,
String className,
String cmd,
String out,
String err,
int rc)
- Standard constructor originates from the given
ProxyCompiler
source and carries the command
string that was executed, any standard output and any standard
error, and the return code of the
ProxyCompiler.compile
method.
toString
public String toString()
- Prints a summary of the compilation.
- Overrides:
toString
in class EventObject
getCommand
public String getCommand()
- Returns the command used to run the compilation.
getClassName
public String getClassName()
- Returns the name of the class that was recompiled.
getOut
public String getOut()
- Returns any standard output or the empty string.
getErr
public String getErr()
- Returns any standard error or the empty string.
getReturnCode
public int getReturnCode()
- Returns the return code from the
ProxyCompiler.compile
method.