Interface ProjectApi
-
- All Known Implementing Classes:
TuleapApiClient
public interface ProjectApi
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROJECT_API
static String
PROJECT_GIT
static String
PROJECT_GROUPS
static String
PROJECT_MEMBER_OF_QUERY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<GitRepository>
getGitRepositories(Integer projectId, TuleapAccessToken token)
Project
getProjectById(String projectId, TuleapAccessToken token)
Project
getProjectByShortname(String shortname, AccessToken token)
List<UserGroup>
getProjectUserGroups(Integer projectId, AccessToken token)
List<Project>
getUserProjects(TuleapAccessToken token)
-
-
-
Field Detail
-
PROJECT_API
static final String PROJECT_API
- See Also:
- Constant Field Values
-
PROJECT_GROUPS
static final String PROJECT_GROUPS
- See Also:
- Constant Field Values
-
PROJECT_GIT
static final String PROJECT_GIT
- See Also:
- Constant Field Values
-
PROJECT_MEMBER_OF_QUERY
static final String PROJECT_MEMBER_OF_QUERY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProjectByShortname
Project getProjectByShortname(String shortname, AccessToken token) throws ProjectNotFoundException
- Throws:
ProjectNotFoundException
-
getProjectById
Project getProjectById(String projectId, TuleapAccessToken token)
-
getProjectUserGroups
List<UserGroup> getProjectUserGroups(Integer projectId, AccessToken token)
-
getGitRepositories
List<GitRepository> getGitRepositories(Integer projectId, TuleapAccessToken token)
-
getUserProjects
List<Project> getUserProjects(TuleapAccessToken token)
-
-