public abstract class AbstractClasspathEntry extends Object implements ClasspathEntry
ClasspathEntry
instances.Modifier and Type | Field and Description |
---|---|
protected Set<AccessRule> |
accessRules |
static String |
COMPONENT_DEPENDENCY_ATTRIBUTE |
static String |
COMPONENT_NON_DEPENDENCY_ATTRIBUTE |
protected Map<String,Object> |
entryAttributes |
protected boolean |
exported |
protected String |
path |
Constructor and Description |
---|
AbstractClasspathEntry(Node node) |
AbstractClasspathEntry(String path) |
Modifier and Type | Method and Description |
---|---|
protected Node |
addClasspathEntry(Node node,
Map<String,?> attributes) |
void |
appendNode(Node node) |
boolean |
equals(Object o) |
Set<AccessRule> |
getAccessRules() |
Map<String,Object> |
getEntryAttributes() |
String |
getNativeLibraryLocation() |
String |
getPath() |
int |
hashCode() |
boolean |
isExported() |
protected String |
normalizePath(String path) |
void |
setAccessRules(Set<AccessRule> accessRules) |
void |
setExported(boolean exported) |
void |
setNativeLibraryLocation(String location) |
void |
setPath(String path) |
String |
toString() |
void |
writeEntryAttributes(Node node) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKind
public static final String COMPONENT_NON_DEPENDENCY_ATTRIBUTE
public static final String COMPONENT_DEPENDENCY_ATTRIBUTE
protected String path
protected boolean exported
protected Set<AccessRule> accessRules
public AbstractClasspathEntry(Node node)
public AbstractClasspathEntry(String path)
public String getPath()
public void setPath(String path)
public boolean isExported()
public void setExported(boolean exported)
public Set<AccessRule> getAccessRules()
public void setAccessRules(Set<AccessRule> accessRules)
public String getNativeLibraryLocation()
public void setNativeLibraryLocation(String location)
public void appendNode(Node node)
appendNode
in interface ClasspathEntry
public void writeEntryAttributes(Node node)