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:
  • Constructor Details

  • Method Details

    • isClassDirectory

      public boolean isClassDirectory()
      Checks whether the entry would be considered a class directory.
      See Also:
      • isClassDirectoryURL(URL)
    • getPath

      @NonNull public String getPath()
    • getURL

      @NonNull public URL getURL()
    • getOldPath

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getOldPath()
    • setOldPath

      @DataBoundSetter public void setOldPath(String oldPath)
    • 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • alias

      @Initializer(before=EXTENSIONS_AUGMENTED) public static void alias()