Class ReplayUnderGrantAction
java.lang.Object
hudson.model.InvisibleAction
io.jenkins.plugins.batchcontrol.queue.ReplayUnderGrantAction
- All Implemented Interfaces:
Action,ModelObject
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class ReplayUnderGrantAction
extends InvisibleAction
D-58c: the hidden marker of a run started by a Replay, Pipeline Rebuild or Restart from Stage
that a user whose permission for it came only from a grant submitted. It travels with the queue
item onto the run and is saved in the run's
build.xml. A later re-run whose source is a
marked run is refused for everyone but an administrator, before and after the review, because
the replayed script is not part of the job's configuration a reviewer looks at.-
Constructor Summary
ConstructorsConstructorDescriptionReplayUnderGrantAction(String user, String grantId) ReplayUnderGrantAction(String user, String grantId, Integer inheritedFrom) ReplayUnderGrantAction(String user, String grantId, Integer inheritedFrom, String replayedBy) -
Method Summary
Modifier and TypeMethodDescription#1.2: the grant-only user who replayed the script this mark goes back to:getUser()for an own mark, the original replayer for an inherited one,nullwhen an inherited marker saved before #1.2 does not say.getUser()Who started this run: the grant-only replayer for an own mark, the re-runner for an inherited one.Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
Constructor Details
-
ReplayUnderGrantAction
-
ReplayUnderGrantAction
-
ReplayUnderGrantAction
-
-
Method Details
-
getInheritedFrom
-
getUser
Who started this run: the grant-only replayer for an own mark, the re-runner for an inherited one. -
getGrantId
-
getReplayedBy
#1.2: the grant-only user who replayed the script this mark goes back to:getUser()for an own mark, the original replayer for an inherited one,nullwhen an inherited marker saved before #1.2 does not say.
-