Class ProcessWrapperEvent

java.lang.Object
java.util.EventObject
org.jppf.process.ProcessWrapperEvent
All Implemented Interfaces:
Serializable

public class ProcessWrapperEvent extends EventObject
Instances of this class encapsulate an event occurring when a process writes to its output or error stream.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • ProcessWrapperEvent

      public ProcessWrapperEvent(String content)
      Initialize this event with the specified source.
      Parameters:
      content - the source of this event, in effect the content of the corresponding process stream.
  • Method Details

    • getContent

      public String getContent()
      Get the content of this event.
      Returns:
      the content as a string, which may include a line terminator.