Package io.jenkins.plugins.batchcontrol.model
package io.jenkins.plugins.batchcontrol.model
-
ClassDescriptionA request to put one job into service (
ActivationRequest.Action.ACTIVATE) or to put it on hold (ActivationRequest.Action.HOLD) (SPEC item 6a, D-39).What the request asks for.One approver change entry (D-37); same shape asGrantRequest.ApproverChange.Whether a job has been approved to run unattended (SPEC item 6a, D-39).Helpers for a designated approver set (D-37): order-preserving, duplicate-free, trimmed, blank entries dropped.Classification of what caused a build, stored in aRunRecord.Audit record of a change event (SPEC section 3).Kind of event captured by aChangeRecord.The optional name restriction of a CREATE grant (D-40): either an exact item name, or a Java regular expression written as/regex/that must match the whole item name.An approved temporary permission (SPEC item 8, section 3): the result of an approvedGrantRequest.The change actions a JIT grant can cover (SPEC item 8).A request for a temporary (JIT) change permission (SPEC item 8, section 3).One approver change entry of a grant request: (previous set, new set, changed by, at) (SPEC section 3, D-37).Target of a grant request / grant: exactly one item, a job or a folder of any kind (D-71, replaces the JOB, FOLDER and FOLDER_ONLY scopes of D-65).Scope kind.An automatically registered error case (SPEC items 11 and section 3): opened for every build whose result is in the configuredincidentResults, then handled by people (OPEN -> ACKNOWLEDGED -> RESOLVED).Handling state of anIncident(SPEC section 4):OPEN -> ACKNOWLEDGED -> RESOLVED, forward-only.One entry of anIncident's handling history (SPEC item 11): a status transition ({status, by, at, comment}) or a plain comment (recorded against the incident's status at the time, without changing it).The kind of the item a permission window names (D-71): the item'sTopLevelItemDescriptorid, display name and icon, recorded when the request is created and copied to the grant at approval.How many PENDING requests of one kind concern a viewer (D-61): the requests awaiting their decision as a designated approver holdingBatchControl/Approve, and their own requests on which they are not a designated approver.Lifecycle status of aRunRequest(and, from slice S2 on, a grant request).Summary of one build execution (SPEC section 3).A request to run a specific job with a fixed set of parameters (SPEC section 3).One approver change entry: (previous set, new set, changed by, at) (SPEC item 3, D-37).The typed parameter values of one run request (D-72, D-74), persisted with XStream atrequests/run/<id>.values.xml, next to the request file, as core keeps parameter values inbuild.xml: aSecretfield is written in Jenkins' encrypted form.