public final class CheckinEvent
extends java.util.EventObject
| Modifier and Type | Method and Description |
|---|---|
CheckinManager |
getCheckinManager()
Gets the CheckinManager that triggered this CheckinEvent.
|
File.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.
|
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).
|
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.startFile(com.starteam.events.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.startFile(com.starteam.events.CheckinEvent)public boolean isFinished()
CheckinEvent.isSuccessful()public boolean isCanceled()
public boolean isSuccessful()
CheckinEvent.isFinished(),
CheckinEvent.getError(),
CheckinEvent.getCheckinResult()public File.CheckInResult getCheckinResult()
File.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.String toString()
toString in class java.util.EventObjectStarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.