|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.CheckinOptions
Maintains the checkout options used by CheckinManager.
CheckinManager| Constructor Summary | |
CheckinOptions(CheckinOptions options)
Construct a CheckinOptions object with the same options as the given one. |
|
CheckinOptions(StarTeamClientOptions options)
Construct a CheckinOptions object with default options from a StarTeamClientOptions object. |
|
CheckinOptions(View view)
Construct a CheckinOptions object with default options from the View. |
|
| Method Summary | |
boolean |
equals(java.lang.Object another)
** DEBUGGING ONLY*** Returns true if the specified Object identifies
the same exact CheckinOptions. |
boolean |
getAtomicCheckInDisabled()
Returns the "Atomic Checkin Disabled" option value. |
boolean |
getAttachNewLabelsOnly()
Determines under what conditions the specified revision label should be attached to the new file revision on checkin. |
java.lang.String |
getCheckinReason()
Returns the "Checkin Reason" option value. |
ChangeRequest[] |
getCRsToMarkFixed()
Returns the ChangeRequests to mark fixed. |
boolean |
getDeleteWorkingFile()
Returns the "Delete Working File" option value. |
boolean |
getEOLConversionEnabled()
Return whether EOL conversion is enabled when checking out text files. |
java.lang.String |
getFileEncoding()
Returns the "File Encoding" option value. |
boolean |
getForceCheckin()
Returns the "Force Checkin" option value. |
boolean |
getKeywordExpansionEnabled()
Determin whether keyword expansion in text files is enabled. |
int |
getLockType()
Return the type of lock to be used when checking out. |
boolean |
getMarkProcessItemComplete()
Returns whether to mark the process item complete. |
boolean |
getMarkUnlockedFilesReadOnly()
Returns the "Mark Unlocked Files ReadOnly" option value. |
boolean |
getMoveRevisionLabelIfAssigned()
Deprecated. |
Item |
getProcessItem()
Returns the process item to link and pin. |
boolean |
getRestoreFileOnError()
Determine whether to restore previous working file if an error occurs during a checkout. |
Label |
getRevisionLabel()
Returns the revision label to attach. |
boolean |
getUpdateStatus()
Determine whether to update status information after a successful checkout. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isFileSkipped()
Returns whether to skip checking out files or the file associated with this CheckinOptions object. |
void |
setAtomicCheckInDisabled(boolean bAtomicCheckInDisabled)
Sets the "Atomic Checkin Disabled" option value. |
void |
setAttachNewLabelsOnly(boolean bNewLabelsOnly)
Determines under what conditions the specified revision label should be attached to the new file revision on checkin. |
void |
setCheckinReason(java.lang.String sCheckinReason)
Sets the "Checkin Reason" option value. |
void |
setCRsToMarkFixed(ChangeRequest[] changeRequests)
Sets the ChangeRequests to mark fixed. |
void |
setDeleteWorkingFile(boolean bEnabled)
Sets the "Delete Working File" option value. |
void |
setEOLConversionEnabled(boolean bEnabled)
Set to enable EOL conversion when checking out text files. |
void |
setFileEncoding(java.lang.String sEncoding)
Sets the "File Encoding" option value. |
void |
setFileSkipped(boolean bFileSkipped)
Sets whether to skip checking out files or the file associated with this CheckinOptions object. |
void |
setForceCheckin(boolean bEnabled)
Sets the "Force Checkin" option value. |
void |
setKeywordExpansionEnabled(boolean bEnabled)
Set to enable keyword expansion in text files. |
void |
setLockType(int lockType)
Set the type of lock to be used when checking out. |
void |
setMarkProcessItemComplete(boolean bEnabled)
Sets whether to mark the process item complete. |
void |
setMarkUnlockedFilesReadOnly(boolean bMarkUnlockedFilesReadOnly)
Sets the "Mark Unlocked Files ReadOnly" option value. |
void |
setMoveRevisionLabelIfAssigned(boolean bEnabled)
Deprecated. |
void |
setProcessItem(Item processItem)
Sets the process item to link and pin. |
void |
setRestoreFileOnError(boolean bEnabled)
Set to restore previous working file if an error occurs during a checkout. |
void |
setRevisionLabel(Label revisionLabel)
Sets the revision label to attach. |
void |
setUpdateStatus(boolean bEnabled)
Set to whether to update status information after a successful checkout. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CheckinOptions(View view)
view - a View object where the values of the options are picked up.CheckinManager.getOptions(),
Viewpublic CheckinOptions(StarTeamClientOptions options)
options - a StarTeamClientOptions where the values of the options are picked up.CheckinManager.getOptions(),
StarTeamClientOptions.loadDefault()public CheckinOptions(CheckinOptions options)
options - a CheckinOptions where the values of the options are picked up.CheckinManager.getOptions()| Method Detail |
public void setLockType(int lockType)
lockType - the type of lock to be used when checking out.Item.LockTypepublic int getLockType()
public boolean getMarkUnlockedFilesReadOnly()
public void setMarkUnlockedFilesReadOnly(boolean bMarkUnlockedFilesReadOnly)
bMarkUnlockedFilesReadOnly - the "Mark Unlocked Files ReadOnly" option value.CheckoutListener.onStartFile(com.starbase.starteam.CheckoutEvent)public void setEOLConversionEnabled(boolean bEnabled)
bEnabled - if true will enable EOL conversion.public boolean getEOLConversionEnabled()
public void setUpdateStatus(boolean bEnabled)
bEnabled - True to update status information after a successful checkout; false, otherwise.public boolean getMarkProcessItemComplete()
public void setMarkProcessItemComplete(boolean bEnabled)
bEnabled - True if the associated process item is to be marked complete; false, otherwise.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public boolean getAttachNewLabelsOnly()
public void setAttachNewLabelsOnly(boolean bNewLabelsOnly)
bNewLabelsOnly - true If the specified revision label is only attached to the
new file revision if it is not already attached to an earlier revision;
false (the default) if a previously attached label is moved to the new revision.public boolean getMoveRevisionLabelIfAssigned()
CheckinOptions.getAttachNewLabelsOnly()public void setMoveRevisionLabelIfAssigned(boolean bEnabled)
bEnabled - True if the revision label is to move if file already has one attached; false, otherwise.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent),
CheckinOptions.setAttachNewLabelsOnly(boolean)public Item getProcessItem()
public void setProcessItem(Item processItem)
processItem - the process item to link and pin.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public Label getRevisionLabel()
public void setRevisionLabel(Label revisionLabel)
revisionLabel - the revision label to attach.public java.lang.String getFileEncoding()
public void setFileEncoding(java.lang.String sEncoding)
sEncoding - the "File Encoding" option value.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public boolean getForceCheckin()
public void setForceCheckin(boolean bEnabled)
bEnabled - if true will enable force checkin.public boolean isFileSkipped()
public void setFileSkipped(boolean bFileSkipped)
bFileSkipped - whether to skip checking out files or the file associated with this CheckinOptions
object.CheckinListener.onStartFile(com.starbase.starteam.CheckinEvent)public boolean getUpdateStatus()
public void setKeywordExpansionEnabled(boolean bEnabled)
bEnabled - True to use keyword expand in text files; false, otherwise.public boolean getKeywordExpansionEnabled()
public ChangeRequest[] getCRsToMarkFixed()
public void setCRsToMarkFixed(ChangeRequest[] changeRequests)
changeRequests - the ChangeRequests to mark fixed.public boolean getAtomicCheckInDisabled()
public void setAtomicCheckInDisabled(boolean bAtomicCheckInDisabled)
bAtomicCheckInDisabled - the "Atomic Checkin Disabled" option value.public java.lang.String getCheckinReason()
public void setCheckinReason(java.lang.String sCheckinReason)
sCheckinReason - the "Checkin Reason" option value.public boolean getDeleteWorkingFile()
public boolean equals(java.lang.Object another)
Object identifies
the same exact CheckinOptions.
equals in class java.lang.Objectanother - the object to be compared to for equality
public java.lang.String toString()
toString in class java.lang.Objectpublic void setDeleteWorkingFile(boolean bEnabled)
bEnabled - if true will enable delete working file.public void setRestoreFileOnError(boolean bEnabled)
bEnabled - True if the previous working file should be restored if an error occurs
during a checkout; otherwise, false.public boolean getRestoreFileOnError()
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 | |||||||||