public class ProcessLauncherEvent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProcessLauncherEvent.EventType
Types of events that may be fired
|
Constructor and Description |
---|
ProcessLauncherEvent(ProcessLauncherEvent.EventType type,
java.lang.String currentLine,
java.lang.Process process)
Creates a new instance of ProcessLauncherEvent
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrentLine()
Getter for currentLine
|
java.lang.Process |
getProcess()
Getter for process
|
ProcessLauncherEvent.EventType |
getType()
Getter for type
|
protected void |
setCurrentLine(java.lang.String currentLine)
Setter for currentLine
|
protected void |
setProcess(java.lang.Process process)
Setter for process
|
protected void |
setType(ProcessLauncherEvent.EventType type)
Setter for type
|
public ProcessLauncherEvent(ProcessLauncherEvent.EventType type, java.lang.String currentLine, java.lang.Process process)
type
- Type of eventcurrentLine
- If non-null, these tokens correspond to the current line on the
stdout/stderr streamprocess
- The underlying process that fired this eventpublic ProcessLauncherEvent.EventType getType()
protected void setType(ProcessLauncherEvent.EventType type)
type
- Type of eventpublic java.lang.String getCurrentLine()
protected void setCurrentLine(java.lang.String currentLine)
currentLine
- If non-null, this String corresponds to the current line on the
stdout/stderr streampublic java.lang.Process getProcess()
protected void setProcess(java.lang.Process process)
process
- The underlying process that fired this event