|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.starteam.events.WebCacheCheckinEvent
public final class WebCacheCheckinEvent
An event triggered whenever a file is checked in through WebCacheCheckinManager.
WebCacheCheckinListener,
WebCacheCheckinManager#addCheckinListener,
Serialized Form| Method Summary | |
|---|---|
CheckinManager.WebCacheCheckinManager |
getCheckinManager()
Gets the CheckinManager that triggered this CheckinEvent. |
File.CheckInResult |
getCheckinResult()
Gets details describing the result of this checkin. |
File.WebCacheFile |
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.WebCacheCheckinOptions |
getOptions()
Gets the checkin options that apply to the current file. |
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()
Returns a String representation of this CheckinEvent (useful for debugging). |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public CheckinManager.WebCacheCheckinManager getCheckinManager()
WebCacheCheckinManagerpublic CheckinOptions.WebCacheCheckinOptions getOptions()
To override any of the options for the current file, change them in the onStartFile event handler.
CheckinOptions.WebCacheCheckinOptions,
WebCacheCheckinListener.startFile(com.starteam.events.WebCacheCheckinEvent)public File.WebCacheFile getCurrentFile()
File.WebCacheFilepublic 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.startFile(com.starteam.events.CheckinEvent)public boolean isFinished()
WebCacheCheckinEvent.isSuccessful()public boolean isCanceled()
public boolean isSuccessful()
WebCacheCheckinEvent.isFinished(),
WebCacheCheckinEvent.getError(),
WebCacheCheckinEvent.getCheckinResult()public File.CheckInResult getCheckinResult()
File.CheckInResult,
WebCacheCheckinEvent.isFinished(),
WebCacheCheckinEvent.isSuccessful()public java.lang.Throwable getError()
WebCacheCheckinEvent.isFinished(),
WebCacheCheckinEvent.isSuccessful()public java.lang.String getErrorMessage()
WebCacheCheckinEvent.isFinished(),
WebCacheCheckinEvent.isSuccessful()public java.lang.String toString()
toString in class java.util.EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||