|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.starbase.starteam.CheckinEvent
An event triggered whenever a file is checked in through CheckinManager.
CheckinListener,
CheckinManager.addCheckinListener(com.starbase.starteam.CheckinListener),
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
CheckinManager |
getCheckinManager()
Gets the CheckinManager that triggered this CheckinEvent. |
CheckInResult |
getCheckinResult()
Gets details describing the result of this checkin. |
File |
getCurrentFile()
Gets the StarTeam File being checked in. |
java.io.File |
getCurrentWorkingFile()
Gets the working file on disk where this file is being checked in from. |
java.lang.Throwable |
getError()
The error that occurred during the checkin of this file. |
java.lang.String |
getErrorMessage()
The error message for the error that occurred during the checkin of this file. |
CheckinOptions |
getOptions()
Gets the checkin options that apply to the current file. |
java.lang.Object |
getSource()
The object on which the Event initially occurred. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isCanceled()
Indicates whether or not the overall checkin operation has been canceled. |
boolean |
isFinished()
Indicates whether or not the checkin operation for this file is finished. |
boolean |
isSuccessful()
Indicates whether or not the checkin operation for this file has finished successfully. |
void |
setCurrentWorkingFile(java.io.File workingFile)
Sets the working file on disk where this file is being checked in from. |
java.lang.String |
toString()
Gets a short description of this Event. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public CheckinManager getCheckinManager()
CheckinManagerpublic CheckinOptions getOptions()
To override any of the options for the current file, change them in the onStartFile event handler.
CheckinOptions,
CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public File getCurrentFile()
Filepublic java.io.File getCurrentWorkingFile()
public void setCurrentWorkingFile(java.io.File workingFile)
workingFile - The working file on disk where this file is being
checked in from. The working file may be changed in the onStartFile
event handler.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public boolean isFinished()
CheckinEvent.isSuccessful()public boolean isCanceled()
public boolean isSuccessful()
CheckinEvent.isFinished(),
CheckinEvent.getError(),
CheckinEvent.getCheckinResult()public CheckInResult getCheckinResult()
CheckInResult,
CheckinEvent.isFinished(),
CheckinEvent.isSuccessful()public java.lang.Throwable getError()
CheckinEvent.isFinished(),
CheckinEvent.isSuccessful()public java.lang.String getErrorMessage()
CheckinEvent.isFinished(),
CheckinEvent.isSuccessful()public java.lang.Object getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObjectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||