Class ScriptApproval.PendingClasspathEntry
- java.lang.Object
-
- org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingThing
-
- org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
-
- All Implemented Interfaces:
Comparable<ScriptApproval.PendingClasspathEntry>
- Enclosing class:
- ScriptApproval
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class ScriptApproval.PendingClasspathEntry extends ScriptApproval.PendingThing implements Comparable<ScriptApproval.PendingClasspathEntry>
A classpath entry requiring approval by an administrator. They are distinguished only with hashes, but other additional information is provided for possible administrator use. (Currently no context information is actually displayed, since the entry could be used from many scripts, so this might be misleading.)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ScriptApproval.PendingClasspathEntry o)
boolean
equals(Object obj)
String
getHash()
URL
getURL()
int
hashCode()
static ScriptApproval.PendingClasspathEntry
searchKeyFor(String hash)
-
Methods inherited from class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingThing
getContext
-
-
-
-
Method Detail
-
getHash
@NonNull public String getHash()
-
getURL
@NonNull public URL getURL()
-
compareTo
public int compareTo(ScriptApproval.PendingClasspathEntry o)
- Specified by:
compareTo
in interfaceComparable<ScriptApproval.PendingClasspathEntry>
-
searchKeyFor
@NonNull public static ScriptApproval.PendingClasspathEntry searchKeyFor(@NonNull String hash)
-
-