|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.versioncontrol.TeamProject
public class TeamProject
Used by check-in policies, describes the version control item at the root of a team project.
| Constructor Summary | |
|---|---|
TeamProject(Item item,
VersionControlClient client)
Creates a TeamProject for an item. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
static TeamProject[] |
fromItems(Item[] items,
VersionControlClient client)
Creates new TeamProject objects for the given items. |
PolicyDefinition[] |
getCheckinPolicies()
Gets the policies defined for this team project. |
int |
getItemID()
|
java.lang.String |
getName()
|
java.lang.String |
getServerItem()
|
VersionControlClient |
getVersionControlClient()
|
int |
hashCode()
|
static Failure |
validateChange(java.lang.String serverItem,
ItemType type)
Validates if given server items is a root or team project path. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeamProject(Item item,
VersionControlClient client)
TeamProject for an item.
item - the item that describes the team project (must not be
null)| Method Detail |
|---|
public static TeamProject[] fromItems(Item[] items,
VersionControlClient client)
TeamProject objects for the given items.
items - the items to wrap with TeamProjects (must not be
null)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getServerItem()
public java.lang.String getName()
public VersionControlClient getVersionControlClient()
VersionControlClient that can access this team
project (may be null)public int getItemID()
public PolicyDefinition[] getCheckinPolicies()
public static Failure validateChange(java.lang.String serverItem,
ItemType type)
serverItem - the server item where the change is being made (must not be
null or empty)type - the type of the server item where the change is being made (must
not be null)
null if the operation is valid, a Failure if
the serverItem is root or team project folder or some other error
condition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||