public final class ClasspathEntry extends AbstractDescribableImpl<ClasspathEntry> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ClasspathEntry.DescriptorImpl |
Constructor and Description |
---|
ClasspathEntry(String path) |
Modifier and Type | Method and Description |
---|---|
static void |
alias() |
boolean |
equals(Object obj) |
String |
getOldPath() |
String |
getPath() |
URL |
getURL() |
int |
hashCode() |
boolean |
isClassDirectory()
Checks whether the entry would be considered a class directory.
|
boolean |
isEntryApproved() |
boolean |
isScriptAutoApprovalEnabled() |
boolean |
isShouldBeApproved() |
void |
setOldPath(String oldPath) |
void |
setShouldBeApproved(boolean shouldBeApproved) |
String |
toString() |
getDescriptor
@DataBoundConstructor public ClasspathEntry(@NonNull String path) throws MalformedURLException
MalformedURLException
public boolean isClassDirectory()
isClassDirectoryURL(URL)
@NonNull public String getPath()
@NonNull public URL getURL()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getOldPath()
@DataBoundSetter public void setOldPath(String oldPath)
public boolean isShouldBeApproved()
@DataBoundSetter public void setShouldBeApproved(boolean shouldBeApproved)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean isScriptAutoApprovalEnabled()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean isEntryApproved()
@Initializer(before=EXTENSIONS_AUGMENTED) public static void alias()
Copyright © 2016–2022. All rights reserved.