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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidalias()booleangetPath()getURL()inthashCode()booleanChecks whether the entry would be considered a class directory.booleanbooleanbooleanvoidsetOldPath(String oldPath) voidsetShouldBeApproved(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
-