org.eclipse.actf.validation.javapp.events
Class LaunchEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.actf.validation.javapp.events.LaunchEvent
All Implemented Interfaces:
Serializable

public class LaunchEvent
extends EventObject

Author:
Mike Squillace
See Also:
Serialized Form

Field Summary
 boolean doit
          perform the underlying action only if true
static String EXECUTION_STATUS_KEY
          used to specify messages during execution of distinct JVM
static String IO_STATUS_KEY
          used to specify I/O messages
static String PREINSTRUMENTATION_STATUS_KEY
          used to specify messages during pre-instrumentation process
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LaunchEvent(Object source)
          create a new launch event
 
Method Summary
 void addMessage(String statusKey, String msg)
          used by launcher to place a message into this event object
 String[] getExecutionMessages()
          get any messages generated during execution of application or launch of GUI.
 String[] getIOMessages()
          get any messages generated during unpacking or transferring of archives and/or directories.
 String[] getPreinstrumentationMessages()
          get any messages generated during preinstrumentation of .class files.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IO_STATUS_KEY

public static final String IO_STATUS_KEY
used to specify I/O messages

See Also:
Constant Field Values

PREINSTRUMENTATION_STATUS_KEY

public static final String PREINSTRUMENTATION_STATUS_KEY
used to specify messages during pre-instrumentation process

See Also:
Constant Field Values

EXECUTION_STATUS_KEY

public static final String EXECUTION_STATUS_KEY
used to specify messages during execution of distinct JVM

See Also:
Constant Field Values

doit

public boolean doit
perform the underlying action only if true

Constructor Detail

LaunchEvent

public LaunchEvent(Object source)
create a new launch event

Parameters:
source - source of event
Method Detail

getIOMessages

public String[] getIOMessages()
get any messages generated during unpacking or transferring of archives and/or directories. Messages are placed into the string array, each element of which represents one line of the original output.

Returns:
messages generated during unpacking/transfer of resources

getPreinstrumentationMessages

public String[] getPreinstrumentationMessages()
get any messages generated during preinstrumentation of .class files. Messages are placed into the string array, each element of which represents one line of the original output.

Returns:
messages generated during pre-instrumentation

getExecutionMessages

public String[] getExecutionMessages()
get any messages generated during execution of application or launch of GUI. Messages are placed into the string array, each element of which represents one line of the original output.

Returns:
messages generated during execution of app

addMessage

public void addMessage(String statusKey,
                       String msg)
used by launcher to place a message into this event object

Parameters:
statusKey -
msg -