com.microsoft.tfs.core.pendingcheckin
Class CheckinConflictContainer

java.lang.Object
  extended by com.microsoft.tfs.core.pendingcheckin.CheckinConflictContainer

public class CheckinConflictContainer
extends java.lang.Object

Simply holds a CheckinConflict array and some aggregate status information (were any resolvable, etc.).

Since:
TEE-SDK-10.1
Thread-safety:
conditionally thread-safe

Constructor Summary
CheckinConflictContainer(CheckinConflict[] conflicts, boolean anyResolvable)
          Creates a CheckinConflictContainer for the given conflicts.
 
Method Summary
 CheckinConflict[] getConflicts()
           
 boolean isAnyResolvable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckinConflictContainer

public CheckinConflictContainer(CheckinConflict[] conflicts,
                                boolean anyResolvable)
Creates a CheckinConflictContainer for the given conflicts.

Parameters:
conflicts - the conflicts detected (must not be null)
anyResolvable - true if any of the conflicts can be resolved, false if none can be resolved.
Method Detail

getConflicts

public CheckinConflict[] getConflicts()
Returns:
the conflicts this object contains. Do not modify the returned array to maintain thread-safety.

isAnyResolvable

public boolean isAnyResolvable()


© 2015 Microsoft. All rights reserved.