Package jenkins.advancedqueue.sorter
Class StartedJobItemCache
java.lang.Object
jenkins.advancedqueue.sorter.StartedJobItemCache
Keeps track of the Queue.Items seen by the Sorter, but removed from the queue
to become jobs, for UpstreamCauseStrategy.
- Since:
- 3.6.0
- Author:
- Ronny Schuetz
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatic StartedJobItemCacheget()getStartedItem(String projectName, int buildNumber) Gets the Item for a started job, already removed from the queue
-
Method Details
-
get
-
getStartedItem
Gets the Item for a started job, already removed from the queue- Parameters:
projectName- the project namebuildNumber- the build number- Returns:
- the
ItemInfofor the provided id ornullif projectName/buildNumber combination is unknown
-
addItem
-