protected <T> T |
CodeDxClient.doHttpRequest(org.apache.http.client.methods.HttpRequestBase request,
String path,
boolean isXApi,
Type responseType,
Object requestBody) |
Perform an HttpRequest to the given api path, with an optional request body, and parse the response
|
protected <T> T |
CodeDxRepeatingClient.doHttpRequest(org.apache.http.client.methods.HttpRequestBase request,
String path,
boolean isXApi,
Type responseType,
Object requestBody) |
|
CodeDxVersion |
CodeDxClient.getCodeDxVersion() |
|
int |
CodeDxClient.getFindingsCount(ProjectContext project,
Filter filter) |
Retrieves the total findings count for a given project using the provided Filter
|
List<CountGroup> |
CodeDxClient.getFindingsGroupedCounts(ProjectContext project,
Filter filter,
String countBy) |
Retrieves an array of CountGroups using the provided Filter and countBy field name.
|
StartAnalysisResponse |
CodeDxClient.getGitJobResult(String id) |
Retrieves the result of a Git fetch job from Code Dx
|
Job |
CodeDxClient.getJob(String id) |
Retrieves a specific job from CodeDx
|
String |
CodeDxClient.getJobStatus(String id) |
Retrieves a job status from CodeDx.
|
Project |
CodeDxClient.getProject(ProjectContext project) |
Retrieves a specific project from CodeDx
|
List<Branch> |
CodeDxClient.getProjectBranches(ProjectContext project) |
|
GitConfigResponse |
CodeDxClient.getProjectGitConfig(ProjectContext project) |
|
List<Project> |
CodeDxClient.getProjects() |
Retrieves a list of projects from CodeDx.
|
boolean |
CodeDxClient.projectPolicyShouldBreakTheBuild(ProjectContext project) |
|
void |
CodeDxClient.setAnalysisName(ProjectContext project,
int analysisId,
String name) |
|
StartAnalysisResponse |
CodeDxClient.startAnalysis(int projectId,
boolean includeGitSource,
String specificGitBranch,
String parentBranchName,
String targetBranchName,
Map<String,InputStream> artifacts) |
Kicks off a CodeDx analysis run on a specified project
(Requires projectId instead of ProjectContext since the use of ProjectContext differs for this endpoint compared to others.
|