|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.netbeans.lib.cvsclient.event.CVSEvent
org.netbeans.lib.cvsclient.event.TerminationEvent
An event sent from the server to indicate that a the output from the server has ended for the current command
| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
TerminationEvent(java.lang.Object source)
Construct a MessageEvent with no message text |
|
TerminationEvent(java.lang.Object source,
boolean isError)
Construct a MessageEvent |
|
| Method Summary | |
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 |
| 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 |
| Constructor Detail |
public TerminationEvent(java.lang.Object source,
boolean isError)
source - the source of the eventisError - true if the message is an error message (i.e. intended
for stderr rather than stdout), false otherwisepublic TerminationEvent(java.lang.Object source)
source - the source of the event| Method Detail |
public boolean isError()
public void setError(boolean error)
error - true if successfullprotected void fireEvent(CVSListener listener)
fireEvent in class CVSEventlistener - the event listener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||