Class AbstractClasspathEntry
java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
- All Implemented Interfaces:
ClasspathEntry
- Direct Known Subclasses:
AbstractLibrary,Container,ProjectDependency,SourceFolder
Common superclass for all
ClasspathEntry instances.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<AccessRule>static final Stringstatic final Stringprotected booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeaddClasspathEntry(Node node, Map<String, ?> attributes) voidappendNode(Node node) booleangetPath()inthashCode()booleanprotected StringnormalizePath(String path) voidsetAccessRules(Set<AccessRule> accessRules) voidsetExported(boolean exported) voidsetNativeLibraryLocation(String location) voidtoString()voidwriteEntryAttributes(Node node) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gradle.plugins.ide.eclipse.model.ClasspathEntry
getKind
-
Field Details
-
COMPONENT_NON_DEPENDENCY_ATTRIBUTE
- See Also:
-
COMPONENT_DEPENDENCY_ATTRIBUTE
- See Also:
-
path
-
exported
protected boolean exported -
accessRules
-
entryAttributes
-
-
Constructor Details
-
AbstractClasspathEntry
-
AbstractClasspathEntry
-
-
Method Details
-
getPath
-
setPath
-
isExported
public boolean isExported() -
setExported
public void setExported(boolean exported) -
getAccessRules
-
setAccessRules
-
getEntryAttributes
-
getNativeLibraryLocation
-
setNativeLibraryLocation
-
appendNode
- Specified by:
appendNodein interfaceClasspathEntry
-
addClasspathEntry
-
normalizePath
-
writeEntryAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-