Class GuardInfo
java.lang.Object
io.jenkins.plugins.batchcontrol.ui.GuardInfo
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class GuardInfo
extends Object
What the strategy monitor says about an item in the "changed under a grant" state
(D-58a/b): which permission window recorded the change, and after "Mark as reviewed" what still
guards the item. Read-only; for the Administer-only monitor pages, reached through
BatchControlRootAction (j:invokeStatic cannot load plugin classes).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe permission window that recorded a change to an item (or to a folder above it).static final classWhat still guards an item after it was marked as reviewed. -
Method Summary
Modifier and TypeMethodDescriptionstatic GuardInfo.ChangedchangedUnder(String itemFullName) The window that recorded a change to the item or a folder above it, ornullwhen the item is not in the "changed under a grant" state or the grant cannot be read.static GuardInfo.OutcomeAfter "Mark as reviewed" ofitemFullName: the outcome, ornullwhen the name does not resolve (as the viewer) or the item is still listed as changed itself, so that a hand-edited query string never produces a confirmation that is not true now.
-
Method Details
-
changedUnder
The window that recorded a change to the item or a folder above it, ornullwhen the item is not in the "changed under a grant" state or the grant cannot be read. -
reviewed
After "Mark as reviewed" ofitemFullName: the outcome, ornullwhen the name does not resolve (as the viewer) or the item is still listed as changed itself, so that a hand-edited query string never produces a confirmation that is not true now.
-