com.microsoft.tfs.core.pendingcheckin
Interface PendingCheckinWorkItems

All Known Implementing Classes:
StandardPendingCheckinWorkItems

public interface PendingCheckinWorkItems

Contains the work items associated with (or set to be resolved by) the current pending checkin.

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

Method Summary
 void addCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener listener)
          Adds a listener that's invoked whenever the work items that are checked in the user interface are changed (via setCheckedWorkItems(WorkItemCheckinInfo[])).
 WorkItemCheckinInfo[] getCheckedWorkItems()
           
 void removeCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener listener)
          Removes a listener that was previously added by addCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener) .
 void setCheckedWorkItems(WorkItemCheckinInfo[] checkedWorkItems)
          Sets the work items that are "checked" in the user interface.
 

Method Detail

addCheckedWorkItemsChangedListener

void addCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener listener)
Adds a listener that's invoked whenever the work items that are checked in the user interface are changed (via setCheckedWorkItems(WorkItemCheckinInfo[])).

Parameters:
listener - the listener to add (must not be null)

removeCheckedWorkItemsChangedListener

void removeCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener listener)
Removes a listener that was previously added by addCheckedWorkItemsChangedListener(CheckedWorkItemsChangedListener) .

Parameters:
listener - the listener to remove (must not be null)

getCheckedWorkItems

WorkItemCheckinInfo[] getCheckedWorkItems()
Returns:
the work items that are "checked" in the user interface (will be changed during this checkin).

setCheckedWorkItems

void setCheckedWorkItems(WorkItemCheckinInfo[] checkedWorkItems)
Sets the work items that are "checked" in the user interface.

Parameters:
checkedWorkItems - the checked work items (must not be null)


© 2015 Microsoft. All rights reserved.