com.microsoft.tfs.core.pendingcheckin
Class AffectedTeamProjects
java.lang.Object
com.microsoft.tfs.core.pendingcheckin.AffectedTeamProjects
public class AffectedTeamProjects
- extends java.lang.Object
Contains entries for team projects affected by a pending checkin.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-safe
Method Summary |
java.lang.String[] |
getTeamProjectPaths()
|
boolean |
set(PendingChange[] changes)
Sets the affected team projects from the server paths of the specified
pending changes. |
boolean |
set(java.lang.String[] teamProjectPaths)
Sets the affected team projects from a list of canonical server paths to
team projects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AffectedTeamProjects
public AffectedTeamProjects()
AffectedTeamProjects
public AffectedTeamProjects(PendingChange[] changes)
AffectedTeamProjects
public AffectedTeamProjects(java.lang.String[] teamProjectPaths)
getTeamProjectPaths
public java.lang.String[] getTeamProjectPaths()
- Returns:
- all the team project paths known by this object.
set
public boolean set(PendingChange[] changes)
- Sets the affected team projects from the server paths of the specified
pending changes.
- Parameters:
changes
- the changes to update the affected team projects from (must not be
null
)
- Returns:
- true if there were changes since the old list of affected team
projects, false if no changes were made.
set
public boolean set(java.lang.String[] teamProjectPaths)
- Sets the affected team projects from a list of canonical server paths to
team projects.
- Parameters:
teamProjectPaths
- the team projects (must not be null
)
- Returns:
- true if the set was modified, false if the set was not modified
© 2015 Microsoft. All rights reserved.