|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.starteam.events.WebCacheCheckoutEvent
public final class WebCacheCheckoutEvent
| Method Summary | |
|---|---|
CheckoutManager.WebCacheCheckoutManager |
getCheckoutManager()
Gets the CheckoutManager that triggered this CheckoutEvent. |
File.CheckOutResult |
getCheckoutResult()
Gets details describing the result of this checkout. |
File.WebCacheFile |
getCheckoutRevision()
Gets the revision of the StarTeam File being checked out. |
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. |
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. |
java.lang.String |
getErrorMessage()
The error message for the error that occurred during the checkout of this file. |
CheckoutOptions.WebCacheCheckoutOptions |
getOptions()
Gets the checkout options that apply to the current file. |
File.WebCacheFile |
getOriginalRevision()
Gets the StarTeam File that's used to resolve to the revision being checked out. |
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()
Returns a String representation of this CheckoutEvent (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 CheckoutManager.WebCacheCheckoutManager getCheckoutManager()
CheckoutManager.WebCacheCheckoutManagerpublic CheckoutOptions.WebCacheCheckoutOptions getOptions()
To override any of the options for the current file, change them in the onStartFile event handler.
CheckoutOptions.WebCacheCheckoutOptions,
WebCacheCheckoutListener.startFile(com.starteam.events.WebCacheCheckoutEvent)public int getCheckoutThreadIndex()
public boolean isMPXCacheAgentThread()
CheckoutManager.Progress.isMPXCacheAgentThread(int)public File.WebCacheFile getOriginalRevision()
File.WebCacheFile,
WebCacheCheckoutEvent.getCheckoutRevision()public File.WebCacheFile getCheckoutRevision()
File.WebCacheFile,
WebCacheCheckoutEvent.getOriginalRevision()public 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.startFile(com.starteam.events.CheckoutEvent)public long getCurrentBytesExpected()
WebCacheCheckoutEvent.getCurrentBytesSoFar()public long getCurrentBytesSoFar()
WebCacheCheckoutEvent.getCurrentBytesExpected()public boolean isFinished()
WebCacheCheckoutEvent.isSuccessful()public boolean isCanceled()
public boolean isSuccessful()
WebCacheCheckoutEvent.isFinished(),
WebCacheCheckoutEvent.getError(),
WebCacheCheckoutEvent.getCheckoutResult()public File.CheckOutResult getCheckoutResult()
File.CheckOutResult,
WebCacheCheckoutEvent.isFinished(),
WebCacheCheckoutEvent.isSuccessful()public java.lang.Throwable getError()
WebCacheCheckoutEvent.isFinished(),
WebCacheCheckoutEvent.isSuccessful()public java.lang.String getErrorMessage()
WebCacheCheckoutEvent.isFinished(),
WebCacheCheckoutEvent.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 | ||||||||