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.
 
Method Summary
 String getClassName()
          Returns the name of the class that was recompiled.
 String getCommand()
          Returns the command used to run the compilation.
 String getErr()
          Returns any standard error or the empty string.
 String getOut()
          Returns any standard output or the empty string.
 int getReturnCode()
          Returns the return code from the ProxyCompiler.compile method.
 String toString()
          Prints a summary of the compilation.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.