Class ProjectFinder
- java.lang.Object
-
- jetbrains.buildServer.controllers.ProjectFinder
-
public class ProjectFinder extends java.lang.Object
- Since:
- 2017.1
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUILD_TYPE_ID
static java.lang.String
PROJECT_ID
-
Constructor Summary
Constructors Constructor Description ProjectFinder(javax.servlet.http.HttpServletRequest request, ProjectManager projectManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SProject
getProject()
-
-
-
Field Detail
-
PROJECT_ID
public static final java.lang.String PROJECT_ID
- See Also:
- Constant Field Values
-
BUILD_TYPE_ID
public static final java.lang.String BUILD_TYPE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectFinder
public ProjectFinder(javax.servlet.http.HttpServletRequest request, ProjectManager projectManager)
-
-
Method Detail
-
getProject
@NotNull public SProject getProject() throws ProjectNotFoundException
- Returns:
- project found in request or null
- Throws:
ProjectNotFoundException
- when a project cannot be found due to some reason
-
-