|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.GetOperation
public final class GetOperation
Describes the work required to be done by the client to complete a "get".
Field Summary | |
---|---|
static java.util.Comparator<GetOperation> |
GET_OPERATION_COMPARATOR
|
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
webServiceObject |
Constructor Summary | |
---|---|
GetOperation(ms.tfs.versioncontrol.clientservices._03._GetOperation op)
|
|
GetOperation()
|
Method Summary | |
---|---|
void |
clearLocalItem()
Called by code during get when multiple operations affect a single local item. |
int |
compareTo(GetOperation other)
|
DownloadSpec |
createDownloadSpec()
Creates an download spec instance for this operation. |
boolean |
equals(java.lang.Object o)
|
byte[] |
getBaselineFileGUID()
Byte representation of the guid that is used to locate original file content in the baseline folder. |
ChangeType |
getChangeType()
Gets the types of the pending change described by this item. |
ChangeType |
getConflictingChangeType()
Gets the type of change that conflicts with this item. |
int |
getConflictingItemID()
|
java.lang.String |
getCurrentLocalItem()
|
int |
getDeletionID()
Gets the deletion ID of the item. |
java.lang.String |
getDownloadURL()
Gets the URL at which this item can be downloaded. |
ChangeType |
getEffectiveChangeType()
|
int |
getEncoding()
|
byte[] |
getHashValue()
Gets the hash code for the target item affected by this operation. |
int |
getItemID()
Gets the numeric ID of the item affected by this operation. |
ItemType |
getItemType()
Gets the type of the item affected by this operation. |
com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem |
getLocalVersionEntry()
Before looping through the GetOperations and calling ProcessOperation on each one, a pass is made to tag GetOperations meeting certain criteria with their local version entries. |
LockLevel |
getLockLevel()
Gets the lock status for this operation. |
Conflict |
getMergeDetails()
|
int |
getPendingChangeID()
Gets the ID of the pending change. |
PropertyValue[] |
getPropertyValues()
|
java.lang.String |
getSourceLocalItem()
Gets the local item that is the source of this operation, as defined by the web service object. |
java.lang.String |
getSourceServerItem()
|
java.lang.String |
getTargetLocalItem()
Gets the local item that is the target of this operation. |
java.lang.String |
getTargetServerItem()
Gets the server item that is the target of this operation. |
ProcessType |
getType()
|
int |
getVersionLocal()
Gets the version of the item locally. |
int |
getVersionServer()
Gets the version of the item on the server. |
java.util.Calendar |
getVersionServerDate()
Get the date / time the server version was created. |
ms.tfs.versioncontrol.clientservices._03._GetOperation |
getWebServiceObject()
Gets the web service object this class wraps. |
boolean |
hasConflict()
Gets whether this operation conflicts with another. |
int |
hashCode()
|
boolean |
hasPendingChange()
Gets whether this operation has a pending change. |
boolean |
isCaseChangingRename()
Tests whether this operation describes a rename that is simply changing the character case of the file in this operation. |
boolean |
isContentDestroyed()
|
boolean |
isDelete()
|
boolean |
isDownloadCompleted()
|
boolean |
isIgnore()
True if this GetOperation should be ignored by the client-side Get logic. |
boolean |
isLatest()
Gets whether this operation is for the latest version of a file. |
boolean |
isNamespaceConflict()
|
boolean |
isNewContentNeeded()
|
boolean |
isOkayToOverwriteExistingLocal()
This flag indicates that writable file conflicts should be suppressed for this GetOperation, if the target local item is equal to the source local item. |
boolean |
isUndo()
|
void |
setBaselineFileGUID(byte[] guid)
|
void |
setChangeType(ChangeType changeType)
Sets the types of the pending change described by this item. |
void |
setConflictingChangeType(ChangeType changeType)
Sets the type of change that conflicts with this item. |
void |
setDeletionID(int did)
Sets the deletion ID of the item. |
void |
setDownloadCompleted(boolean completed)
|
void |
setDownloadURL(java.lang.String url)
Sets the URL at which this item can be downloaded. |
void |
setEncoding(int encoding)
|
void |
setHasConflict(boolean conflict)
Sets whether this operation conflicts with another. |
void |
setHashValue(byte[] hashValue)
Sets the hash code for the target item affected by this operation. |
void |
setIgnore(boolean value)
|
void |
setItemID(int id)
Sets the numeric ID of the item affected by this operation. |
void |
setItemType(ItemType type)
Sets the type of the item affected by this operation. |
void |
setLocalVersionEntry(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem entry)
|
void |
setLockLevel(LockLevel lock)
Sets the lock status for this operation. |
void |
setMergeDetails(Conflict mergeDetails)
Sets the merge details for this operation. |
void |
setOkayToOverwriteExistingLocal(boolean value)
|
void |
setPendingChangeID(int pcid)
Sets the ID of the pending change. |
void |
setProcessType(ProcessType processType)
|
void |
setPropertyValues(PropertyValue[] propertyValues)
|
void |
setSourceLocalItem(java.lang.String item)
Sets the local item that is the source of this operation. |
void |
setSourceServerItem(java.lang.String item)
|
void |
setTargetLocalItem(java.lang.String item)
Sets the local item that is the target of this operation. |
void |
setTargetServerItem(java.lang.String item)
Sets the server item that is the target of this operation. |
void |
setVersionLocal(int version)
Sets the version of the item locally. |
void |
setVersionServer(int version)
Sets the version of the item on the server. |
void |
setVersionServerDate(java.util.Calendar value)
Set the date / time the server version was created. |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Comparator<GetOperation> GET_OPERATION_COMPARATOR
Constructor Detail |
---|
public GetOperation()
public GetOperation(ms.tfs.versioncontrol.clientservices._03._GetOperation op)
Method Detail |
---|
public ms.tfs.versioncontrol.clientservices._03._GetOperation getWebServiceObject()
public Conflict getMergeDetails()
public void setMergeDetails(Conflict mergeDetails)
mergeDetails
- the details to set (null to remove any details).public boolean isNamespaceConflict()
public byte[] getHashValue()
public void setHashValue(byte[] hashValue)
hashValue
- the new hash code value for the target item.public ItemType getItemType()
public void setItemType(ItemType type)
type
- the type of the item.public int getItemID()
public void setItemID(int id)
id
- the numeric ID of the item.public java.lang.String getDownloadURL()
public java.lang.String getSourceServerItem()
public void setSourceServerItem(java.lang.String item)
public int getEncoding()
VersionControlConstants.ENCODING_UNCHANGED
for pre-Dev 11
servers.public void setEncoding(int encoding)
public java.lang.String getCurrentLocalItem()
clearLocalItem()
has been called, in which case it is
null
.public java.lang.String getSourceLocalItem()
getCurrentLocalItem()
public void setSourceLocalItem(java.lang.String item)
item
- the path to the source local item.public java.lang.String getTargetLocalItem()
public void setTargetLocalItem(java.lang.String item)
item
- the path to the target local item.public java.lang.String getTargetServerItem()
public void setTargetServerItem(java.lang.String item)
item
- the path to the target server item.public int getVersionServer()
public void setVersionServer(int version)
version
- the version of the item on the server.public int getVersionLocal()
public void setVersionLocal(int version)
version
- the local version of the item.public java.util.Calendar getVersionServerDate()
public void setVersionServerDate(java.util.Calendar value)
value
- public int getDeletionID()
public void setDeletionID(int did)
did
- the deletion ID of the item.public ChangeType getChangeType()
public void setChangeType(ChangeType changeType)
changeType
- the types of the pending change described by this item.public ChangeType getEffectiveChangeType()
public LockLevel getLockLevel()
public void setLockLevel(LockLevel lock)
lock
- the lock status for this operation.public int getPendingChangeID()
public void setPendingChangeID(int pcid)
pcid
- the ID of the pending change.public void setDownloadURL(java.lang.String url)
url
- the url where this item can be downloaded.public boolean isLatest()
public boolean hasPendingChange()
true
if associated pending change is not caused just
by pending change on the parent.public boolean hasConflict()
public void setHasConflict(boolean conflict)
conflict
- true if this operation conflicts with another, false if not.public ChangeType getConflictingChangeType()
public void setConflictingChangeType(ChangeType changeType)
changeType
- the type of change that conflicts with this item.public int getConflictingItemID()
public ProcessType getType()
public void setProcessType(ProcessType processType)
public boolean isUndo()
public boolean isDelete()
public boolean isNewContentNeeded()
public boolean isCaseChangingRename()
public void clearLocalItem()
public boolean isDownloadCompleted()
public void setDownloadCompleted(boolean completed)
completed
- whether the download for this item should be marked completed.public byte[] getBaselineFileGUID()
public void setBaselineFileGUID(byte[] guid)
getBaselineFileGUID()
public com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem getLocalVersionEntry()
public void setLocalVersionEntry(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem entry)
getLocalVersionEntry()
public boolean isOkayToOverwriteExistingLocal()
public void setOkayToOverwriteExistingLocal(boolean value)
public DownloadSpec createDownloadSpec()
DownloadSpec
instance.public PropertyValue[] getPropertyValues()
public void setPropertyValues(PropertyValue[] propertyValues)
public int compareTo(GetOperation other)
compareTo
in interface java.lang.Comparable<GetOperation>
public boolean equals(java.lang.Object o)
equals
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
public int hashCode()
hashCode
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
public void setIgnore(boolean value)
public boolean isIgnore()
public boolean isContentDestroyed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |