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 SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractDescribableImplgetDescriptor
- 
Constructor Details- 
ClasspathEntry- Throws:
- MalformedURLException
 
 
- 
- 
Method Details- 
isClassDirectorypublic boolean isClassDirectory()Checks whether the entry would be considered a class directory.- See Also:
- 
- isClassDirectoryURL(URL)
 
 
- 
getPath
- 
getURL
- 
getOldPath
- 
setOldPath
- 
isShouldBeApprovedpublic 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
- 
hashCodepublic int hashCode()
- 
alias
 
-