Class ClasspathEntry
java.lang.Object
hudson.model.AbstractDescribableImpl<ClasspathEntry>
org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- All Implemented Interfaces:
Describable<ClasspathEntry>
,Serializable
public final class ClasspathEntry
extends AbstractDescribableImpl<ClasspathEntry>
implements Serializable
A classpath entry used for a script.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
alias()
boolean
getPath()
getURL()
int
hashCode()
boolean
Checks whether the entry would be considered a class directory.boolean
boolean
boolean
void
setOldPath
(String oldPath) void
setShouldBeApproved
(boolean shouldBeApproved) toString()
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ClasspathEntry
- Throws:
MalformedURLException
-
-
Method Details
-
isClassDirectory
public boolean isClassDirectory()Checks whether the entry would be considered a class directory.- See Also:
-
isClassDirectoryURL(URL)
-
getPath
-
getURL
-
getOldPath
-
setOldPath
-
isShouldBeApproved
public boolean isShouldBeApproved() -
setShouldBeApproved
@DataBoundSetter public void setShouldBeApproved(boolean shouldBeApproved) -
isScriptAutoApprovalEnabled
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean isScriptAutoApprovalEnabled() -
isEntryApproved
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean isEntryApproved() -
toString
-
equals
-
hashCode
public int hashCode() -
alias
-