com.microsoft.tfs.core.clients.versioncontrol.events
Class MergingEvent

java.lang.Object
  extended by com.microsoft.tfs.core.clients.CoreClientEvent
      extended by com.microsoft.tfs.core.clients.versioncontrol.events.MergingEvent

public class MergingEvent
extends CoreClientEvent

Event fired when a file is being merged.

Since:
TEE-SDK-10.1

Constructor Summary
MergingEvent(EventSource source, Conflict conflict, Workspace workspace, boolean isLatest, PendingChange pendingChange, OperationStatus status, ChangeType targetLocalChangeType, boolean diskUpdateAttempted, PropertyValue[] properties)
           
 
Method Summary
 ChangeType getChangeType()
           
 java.lang.String getMessage(java.util.concurrent.atomic.AtomicReference<java.lang.String> error)
          Converts this event into a displayable message.
 PendingChange getPendingChange()
           
 PropertyValue[] getPropertyValues()
           
 java.lang.String getSourceLocalItem()
           
 java.lang.String getSourceServerItem()
           
 ChangesetVersionSpec getSourceVersionFrom()
           
 ChangesetVersionSpec getSourceVersionTo()
           
 OperationStatus getStatus()
           
 java.lang.String getTargetLocalItem()
           
 ChangeType getTargetLocalPendingChange()
           
 java.lang.String getTargetServerItem()
           
 ChangesetVersionSpec getTargetVersionPended()
           
 Workspace getWorkspace()
           
 boolean isConflict()
           
 boolean isDiskUpdateAttempted()
           
 boolean isLatest()
           
 java.lang.String toString()
           
 
Methods inherited from class com.microsoft.tfs.core.clients.CoreClientEvent
getEventSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MergingEvent

public MergingEvent(EventSource source,
                    Conflict conflict,
                    Workspace workspace,
                    boolean isLatest,
                    PendingChange pendingChange,
                    OperationStatus status,
                    ChangeType targetLocalChangeType,
                    boolean diskUpdateAttempted,
                    PropertyValue[] properties)
Method Detail

isDiskUpdateAttempted

public boolean isDiskUpdateAttempted()

isLatest

public boolean isLatest()

getPendingChange

public PendingChange getPendingChange()

getStatus

public OperationStatus getStatus()

getTargetLocalPendingChange

public ChangeType getTargetLocalPendingChange()

getWorkspace

public Workspace getWorkspace()

getChangeType

public ChangeType getChangeType()

getSourceServerItem

public java.lang.String getSourceServerItem()

getSourceLocalItem

public java.lang.String getSourceLocalItem()

getSourceVersionFrom

public ChangesetVersionSpec getSourceVersionFrom()

getSourceVersionTo

public ChangesetVersionSpec getSourceVersionTo()

getTargetServerItem

public java.lang.String getTargetServerItem()

getTargetLocalItem

public java.lang.String getTargetLocalItem()

getTargetVersionPended

public ChangesetVersionSpec getTargetVersionPended()

isConflict

public boolean isConflict()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMessage

public java.lang.String getMessage(java.util.concurrent.atomic.AtomicReference<java.lang.String> error)
Converts this event into a displayable message.

Parameters:
error - the error message, if any, that is also a result of this event
Returns:
the displayable message for pending a merge

getPropertyValues

public PropertyValue[] getPropertyValues()


© 2015 Microsoft. All rights reserved.