Uses of Class
io.jenkins.plugins.batchcontrol.model.Incident
Packages that use Incident
Package
Description
-
Uses of Incident in io.jenkins.plugins.batchcontrol.action
Methods in io.jenkins.plugins.batchcontrol.action that return IncidentMethods in io.jenkins.plugins.batchcontrol.action that return types with arguments of type IncidentModifier and TypeMethodDescriptionIncidentsSection.getPageItems()The incidents shown on the current page, newest first.Methods in io.jenkins.plugins.batchcontrol.action with parameters of type IncidentModifier and TypeMethodDescriptionCreation timestamp of an incident (Jelly helper for the list column).HistorySection.incidentCreatedAt(Incident incident) Creation timestamp of an incident.HistorySection.incidentRunUrl(Incident incident) Root-relative build URL for an incident's originating run, or null for plain text (D-44).Root-relative build URL for the incident's originating run, or null for plain text (D-44). -
Uses of Incident in io.jenkins.plugins.batchcontrol.ops
Methods in io.jenkins.plugins.batchcontrol.ops that return IncidentModifier and TypeMethodDescriptionIncidentService.acknowledge(String id, String comment) OPEN -> ACKNOWLEDGED; any other current status is refused (forward-only).IncidentService.addComment(String id, String comment) Appends a comment to the incident history without changing the status — allowed in every status, RESOLVED included (SPEC section 4).Loads an incident by id, ornull.IncidentService.openForRun(Run<?, ?> run) Opens an incident for a completed build whose result is in the configuredincidentResults— regardless of what caused the build (SPEC item 11, D-10).IncidentService.requireRerunTarget(String incidentId, Job<?, ?> job) The incident a run request forjobis linked to (SPEC item 11): it must exist and belong tojob.ACKNOWLEDGED -> RESOLVEDonly (SPEC section 4: OPEN must pass ACKNOWLEDGED first).Methods in io.jenkins.plugins.batchcontrol.ops that return types with arguments of type IncidentModifier and TypeMethodDescriptionEvery incident created in the given month, in creation order.Methods in io.jenkins.plugins.batchcontrol.ops with parameters of type IncidentModifier and TypeMethodDescriptionbooleanWhether the current user could request a rerun ofincident(e2e-03 DEF-12): the incident's job still exists andRunRequestService.canRequest(hudson.model.Job<?, ?>)holds for it, which is whatIncidentService.rerun(java.lang.String, java.lang.String)and the request creation check. -
Uses of Incident in io.jenkins.plugins.batchcontrol.store
Methods in io.jenkins.plugins.batchcontrol.store that return IncidentModifier and TypeMethodDescriptionFileStore.loadIncident(String id) Store.loadIncident(String id) Loads an incident by id, or returnsnullif it does not exist.Methods in io.jenkins.plugins.batchcontrol.store that return types with arguments of type IncidentModifier and TypeMethodDescriptionFileStore.listIncidents(YearMonth month) Store.listIncidents(YearMonth month) Loads every incident created in the given month via the monthly index, in index (creation) order.FileStore.pageIncidents(Collection<YearMonth> months, Period period, Predicate<? super IncidentSummary> indexFilter, Predicate<? super Incident> filter, int offset, int limit, int maxScanned) Store.pageIncidents(Collection<YearMonth> months, Period period, Predicate<? super IncidentSummary> indexFilter, Predicate<? super Incident> filter, int offset, int limit, int maxScanned) AsStore.pageRunRecords(java.util.Collection<java.time.YearMonth>, io.jenkins.plugins.batchcontrol.store.Period, java.util.function.Predicate<? super io.jenkins.plugins.batchcontrol.model.RunRecord>, int, int, int)for incidents, walking the monthly index newest first (creation time, then id); every index line read counts againstmaxScanned.Methods in io.jenkins.plugins.batchcontrol.store with parameters of type IncidentModifier and TypeMethodDescriptionvoidFileStore.createIncident(Incident incident) voidStore.createIncident(Incident incident) Persists a freshly opened incident: writesincidents/<id>.xmland appends the monthly index line (incidents/index/YYYY-MM.jsonl, bucket derived from the incident's creation time).voidFileStore.saveIncident(Incident incident) voidStore.saveIncident(Incident incident) Rewrites an existing incident's XML atomically (handling transitions, links).