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 Details

    • ReplayUnderGrantAction

      public ReplayUnderGrantAction(String user, String grantId)
    • ReplayUnderGrantAction

      public ReplayUnderGrantAction(String user, String grantId, Integer inheritedFrom)
  • Method Details

    • getInheritedFrom

      public Integer getInheritedFrom()
    • getUser

      public String getUser()
    • getGrantId

      public String getGrantId()