public class TestToIssueMapping extends Object
Modifier and Type | Method and Description |
---|---|
void |
addTestToIssueMapping(Job job,
String testId,
String issueKey)
Link an issue to a test
|
static TestToIssueMapping |
getInstance()
Getter for the singleton instance
|
com.google.gson.JsonElement |
getMap(Job job) |
com.google.gson.JsonElement |
getMap(hudson.matrix.MatrixProject matrixProject) |
com.google.gson.JsonElement |
getMap(hudson.matrix.MatrixProject matrixProject,
String subJobName) |
String |
getTestIssueKey(Job job,
String testId)
Get the issue key associated with a test
|
void |
register(Job job)
Method for registering a job
|
void |
removeTestToIssueMapping(Job job,
String testId,
String issueKey)
Unlink an issue from a test
|
public static TestToIssueMapping getInstance()
public void register(Job job)
job
- public void addTestToIssueMapping(Job job, String testId, String issueKey)
job
- testId
- issueKey
- public void removeTestToIssueMapping(Job job, String testId, String issueKey)
job
- testId
- issueKey
- public String getTestIssueKey(Job job, String testId)
job
- testId
- public com.google.gson.JsonElement getMap(hudson.matrix.MatrixProject matrixProject, String subJobName)
public com.google.gson.JsonElement getMap(hudson.matrix.MatrixProject matrixProject)
public com.google.gson.JsonElement getMap(Job job)
Copyright © 2016–2024. All rights reserved.