com.microsoft.tfs.core.clients.versioncontrol.events
Class GetEvent
java.lang.Object
com.microsoft.tfs.core.clients.CoreClientEvent
com.microsoft.tfs.core.clients.versioncontrol.events.GetEvent
public class GetEvent
- extends CoreClientEvent
Event fired when file is retrieved from the server.
- Since:
- TEE-SDK-10.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetEvent
public GetEvent(EventSource source,
com.microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation asyncOp,
OperationStatus status,
GetOperation action,
java.lang.String targetLocalItem,
ChangeType targetChangeType,
PropertyValue[] targetPropertyValues)
getMessage
public java.lang.String getMessage(java.lang.String targetName,
java.util.concurrent.atomic.AtomicReference<java.lang.String> error)
- Converts this event into a displayable message.
- Parameters:
targetName
- the path to the target, perhaps relative to another directoryerror
- the error message, if any, that is also a result of this event
- Returns:
- the displayable message for a successful action, if any
getWorkspace
public Workspace getWorkspace()
getStatus
public OperationStatus getStatus()
isLatest
public boolean isLatest()
getSourceLocalItem
public java.lang.String getSourceLocalItem()
getTargetLocalItem
public java.lang.String getTargetLocalItem()
getVersion
public int getVersion()
getDeletionID
public int getDeletionID()
getServerItem
public java.lang.String getServerItem()
getItemID
public int getItemID()
getItemType
public ItemType getItemType()
isDelete
public boolean isDelete()
getChangeType
public ChangeType getChangeType()
isDiskUpdateAttempted
public boolean isDiskUpdateAttempted()
getOperation
public GetOperation getOperation()
getTargetPropertyValues
public PropertyValue[] getTargetPropertyValues()
© 2015 Microsoft. All rights reserved.