|
||||||||||
| 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.CheckoutEvent
An event triggered whenever a file is checked out through CheckoutManager.
CheckoutListener,
CheckoutManager.addCheckoutListener(com.starbase.starteam.CheckoutListener),
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
CheckoutManager |
getCheckoutManager()
Gets the CheckoutManager that triggered this CheckoutEvent. |
CheckOutResult |
getCheckoutResults()
Gets details describing the result of this checkout. |
int |
getCheckoutThreadIndex()
Get the index of this thread within the CheckoutManager's running thread list. |
long |
getCurrentBytesExpected()
Gets the total number of bytes expected in this file. |
long |
getCurrentBytesSoFar()
Get the number of bytes checked out so far for this file. |
File |
getCurrentFile()
Gets the StarTeam File being checked out. |
java.io.File |
getCurrentWorkingFile()
Gets the working file on disk where this file is being checked out to. |
java.lang.Throwable |
getError()
The error that occurred during the checkout of this file. |
CheckoutOptions |
getOptions()
Gets the checkout options that apply to the current file. |
CheckoutProgress |
getProgress()
Gets a snapshot of the state of the current checkout operation, as of the time that this event was triggered. |
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 checkout operation has been canceled. |
boolean |
isFinished()
Indicates whether or not the checkout operation for this file is finished. |
boolean |
isMPXCacheAgentThread()
Indicates whether this thread is checking out files from the MPX File Cache Agent, or directly from the server. |
boolean |
isSuccessful()
Indicates whether or not the checkout 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 out to. |
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 CheckoutManager getCheckoutManager()
CheckoutManagerpublic CheckoutProgress getProgress()
CheckoutProgress,
CheckoutManager.getProgress()public CheckoutOptions getOptions()
To override any of the options for the current file, change them in the onStartFile event handler.
CheckoutOptions,
CheckoutListener.onStartFile(com.starbase.starteam.CheckoutEvent)public int getCheckoutThreadIndex()
public boolean isMPXCacheAgentThread()
CheckoutManager.setMPXCacheAgentEnabled(boolean),
CheckoutProgress.isMPXCacheAgentThread(int)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 out to. The working file may be changed in the onStartFile
event handler.CheckoutListener.onStartFile(com.starbase.starteam.CheckoutEvent)public long getCurrentBytesExpected()
CheckoutProgress.getCurrentBytesExpected(int),
CheckoutEvent.getCurrentBytesSoFar()public long getCurrentBytesSoFar()
CheckoutProgress.getCurrentBytesSoFar(int),
CheckoutEvent.getCurrentBytesExpected()public boolean isFinished()
CheckoutEvent.isSuccessful()public boolean isCanceled()
public boolean isSuccessful()
CheckoutEvent.isFinished(),
CheckoutEvent.getError(),
CheckoutEvent.getCheckoutResults()public CheckOutResult getCheckoutResults()
CheckOutResult,
CheckoutEvent.isFinished(),
CheckoutEvent.isSuccessful()public java.lang.Throwable getError()
CheckoutEvent.isFinished(),
CheckoutEvent.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 | |||||||||