jetbrains.buildServer
Interface BuildProject

All Superinterfaces:
java.lang.Comparable<BuildProject>
All Known Subinterfaces:
SProject

public interface BuildProject
extends java.lang.Comparable<BuildProject>

This interface provides information about TeamCity project


Method Summary
 java.util.List<? extends BuildType> getBuildTypes()
          Return all configurations registered in the project sorted by name.
 java.lang.String getDescription()
          Returns project description
 java.lang.String getName()
          Returns project name
 java.lang.String getProjectId()
          Returns project id
 Status getStatus()
          Returns project status calculated according to cumulative status of all build configurations registered in the project.
 java.util.List<? extends VcsRoot> getVcsRoots()
          Returns list of all vcs roots configured for this project.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getProjectId

java.lang.String getProjectId()
Returns project id

Returns:
unique id

getName

@NotNull
java.lang.String getName()
Returns project name

Returns:
presentable name

getDescription

@NotNull
java.lang.String getDescription()
Returns project description

Returns:
project description

getStatus

Status getStatus()
Returns project status calculated according to cumulative status of all build configurations registered in the project.

Returns:
current project status

getBuildTypes

java.util.List<? extends BuildType> getBuildTypes()
Return all configurations registered in the project sorted by name.

Returns:
all registered configurations sorted by name.

getVcsRoots

java.util.List<? extends VcsRoot> getVcsRoots()
Returns list of all vcs roots configured for this project.

Returns:
all vcs roots configured for this project.