com.microsoft.tfs.core.clients.versioncontrol
Interface IPopulatableLocalVersionUpdate

All Superinterfaces:
ILocalVersionUpdate
All Known Implementing Classes:
ClientLocalVersionUpdate, InitiallyDeletedLocalVersionUpdate

public interface IPopulatableLocalVersionUpdate
extends ILocalVersionUpdate

Thread-safety:
unknown

Method Summary
 byte[] getBaselineFileGUID()
          The baseline file GUID for the baseline for this update
 byte[] getBaselineHashValue()
          The MD5 hash value of the baseline for this update
 java.lang.String getDownloadURL()
          The URL where the baseline for this local version entry can be retrieved
 java.lang.String getPendingChangeTargetServerItem()
          If non-null, EnsureUpdatesFullyPopulated may use QueryPendingChanges as a preferred data source for populating missing baseline information.
 boolean isFullyPopulated(boolean requireVersionLocalDate)
          Indicates whether this IPopulatableLocalVersionUpdate has all the fields populated that are necessary to call UpdateLocalVersion for a local workspace.
 void setDownloadURL(java.lang.String value)
           
 void updateFrom(Item item)
          Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided Item object.
 void updateFrom(PendingChange pendingChange)
          Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided PendingChange object.
 void updateFrom(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem lvExisting)
          Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided WorkspaceLocalItem object.
 
Methods inherited from interface com.microsoft.tfs.core.clients.versioncontrol.ILocalVersionUpdate
getItemID, getSourceServerItem, getTargetLocalItem, getVersionLocal, isCommitted, isSendToServer
 

Method Detail

getBaselineFileGUID

byte[] getBaselineFileGUID()
The baseline file GUID for the baseline for this update


getBaselineHashValue

byte[] getBaselineHashValue()
The MD5 hash value of the baseline for this update


getDownloadURL

java.lang.String getDownloadURL()
The URL where the baseline for this local version entry can be retrieved


setDownloadURL

void setDownloadURL(java.lang.String value)

getPendingChangeTargetServerItem

java.lang.String getPendingChangeTargetServerItem()
If non-null, EnsureUpdatesFullyPopulated may use QueryPendingChanges as a preferred data source for populating missing baseline information. The pending change to be queried will be the one on this target server item.


isFullyPopulated

boolean isFullyPopulated(boolean requireVersionLocalDate)
Indicates whether this IPopulatableLocalVersionUpdate has all the fields populated that are necessary to call UpdateLocalVersion for a local workspace.


updateFrom

void updateFrom(Item item)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided Item object.

Parameters:
item - Data source to update from

updateFrom

void updateFrom(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem lvExisting)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided WorkspaceLocalItem object.

Parameters:
lvExisting - Data source to update from

updateFrom

void updateFrom(PendingChange pendingChange)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided PendingChange object.

Parameters:
pendingChange - Data source to update from


© 2015 Microsoft. All rights reserved.