Class BlueIssueFactory
- java.lang.Object
-
- io.jenkins.blueocean.rest.factory.BlueIssueFactory
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class BlueIssueFactory extends Object implements ExtensionPoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BlueIssueFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<BlueIssue>
getIssues(Job job)
abstract Collection<BlueIssue>
getIssues(ChangeLogSet.Entry changeSetEntry)
static Collection<BlueIssue>
resolve(Job job)
Find issues representing this job.static Collection<BlueIssue>
resolve(ChangeLogSet.Entry changeSetEntry)
Finds any issues associated with the changeset e.g.
-
-
-
Method Detail
-
getIssues
public abstract Collection<BlueIssue> getIssues(Job job)
- Parameters:
job
- job- Returns:
- issues
- See Also:
resolve(Job)
-
getIssues
public abstract Collection<BlueIssue> getIssues(ChangeLogSet.Entry changeSetEntry)
- Parameters:
changeSetEntry
- entry- Returns:
- issues
- See Also:
resolve(ChangeLogSet.Entry)
-
resolve
public static Collection<BlueIssue> resolve(Job job)
Find issues representing this job. e.g. a feature branch could take the format of "feature/TICKET-123" and be represented by TICKET-123 in JIRA Typically there is only one associated ticket- Parameters:
job
- to find issues for- Returns:
- issues representing this job
-
resolve
public static Collection<BlueIssue> resolve(ChangeLogSet.Entry changeSetEntry)
Finds any issues associated with the changeset e.g. a commit message could be "TICKET-123 fix all the things" and be associated with TICKET-123 in JIRA- Parameters:
changeSetEntry
- entry- Returns:
- issues representing the change
-
-