public class TerminationEvent extends CVSEvent
source| Constructor and Description |
|---|
TerminationEvent(Object source)
Construct a MessageEvent with no message text
|
TerminationEvent(Object source,
boolean isError)
Construct a MessageEvent
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireEvent(CVSListener listener)
Fire the event to the event listener.
|
boolean |
isError()
Get whether the command ended successfully or not
|
void |
setError(boolean error)
Get whether the command ended successfully or not
|
getSource, toStringpublic TerminationEvent(Object source, boolean isError)
source - the source of the eventmessage - the message textisError - true if the message is an error message (i.e. intended for
stderr rather than stdout), false otherwisepublic TerminationEvent(Object source)
source - the source of the eventpublic boolean isError()
public void setError(boolean error)
error - true if successfullprotected void fireEvent(CVSListener listener)
Copyright © 2013. All rights reserved.