Class AbstractClasspathEntry
- java.lang.Object
-
- org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
-
- All Implemented Interfaces:
ClasspathEntry
- Direct Known Subclasses:
AbstractLibrary,Container,ProjectDependency,SourceFolder
public abstract class AbstractClasspathEntry extends Object implements ClasspathEntry
Common superclass for allClasspathEntryinstances.
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<AccessRule>accessRulesstatic StringCOMPONENT_DEPENDENCY_ATTRIBUTEstatic StringCOMPONENT_NON_DEPENDENCY_ATTRIBUTEprotected Map<String,Object>entryAttributesprotected booleanexportedprotected Stringpath
-
Constructor Summary
Constructors Constructor Description AbstractClasspathEntry(Node node)AbstractClasspathEntry(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodeaddClasspathEntry(Node node, Map<String,?> attributes)voidappendNode(Node node)booleanequals(Object o)Set<AccessRule>getAccessRules()Map<String,Object>getEntryAttributes()StringgetNativeLibraryLocation()StringgetPath()inthashCode()booleanisExported()protected StringnormalizePath(String path)voidsetAccessRules(Set<AccessRule> accessRules)voidsetExported(boolean exported)voidsetNativeLibraryLocation(String location)voidsetPath(String path)StringtoString()voidwriteEntryAttributes(Node node)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.plugins.ide.eclipse.model.ClasspathEntry
getKind
-
-
-
-
Field Detail
-
COMPONENT_NON_DEPENDENCY_ATTRIBUTE
public static final String COMPONENT_NON_DEPENDENCY_ATTRIBUTE
- See Also:
- Constant Field Values
-
COMPONENT_DEPENDENCY_ATTRIBUTE
public static final String COMPONENT_DEPENDENCY_ATTRIBUTE
- See Also:
- Constant Field Values
-
path
protected String path
-
exported
protected boolean exported
-
accessRules
protected Set<AccessRule> accessRules
-
-
Method Detail
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
isExported
public boolean isExported()
-
setExported
public void setExported(boolean exported)
-
getAccessRules
public Set<AccessRule> getAccessRules()
-
setAccessRules
public void setAccessRules(Set<AccessRule> accessRules)
-
getNativeLibraryLocation
public String getNativeLibraryLocation()
-
setNativeLibraryLocation
public void setNativeLibraryLocation(String location)
-
appendNode
public void appendNode(Node node)
- Specified by:
appendNodein interfaceClasspathEntry
-
writeEntryAttributes
public void writeEntryAttributes(Node node)
-
-