Class SourceFolder
- java.lang.Object
-
- org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
-
- org.gradle.plugins.ide.eclipse.model.SourceFolder
-
- All Implemented Interfaces:
ClasspathEntry
public class SourceFolder extends AbstractClasspathEntry
SourceFolder.path contains only project relative path.
-
-
Field Summary
-
Fields inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path
-
-
Constructor Summary
Constructors Constructor Description SourceFolder(Node node)SourceFolder(String projectRelativePath, String output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendNode(Node node)booleanequals(Object o)StringgetAbsolutePath()FilegetDir()List<String>getExcludes()List<String>getIncludes()StringgetKind()StringgetName()StringgetOutput()inthashCode()voidsetDir(File dir)voidsetExcludes(List<String> excludes)voidsetIncludes(List<String> includes)voidsetName(String name)voidsetOutput(String output)StringtoString()voidtrim()voidtrim(String prefix)-
Methods inherited from class org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
addClasspathEntry, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes
-
-
-
-
Method Detail
-
getOutput
public String getOutput()
-
setOutput
public void setOutput(String output)
-
getDir
public File getDir()
-
setDir
public void setDir(File dir)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getKind
public String getKind()
-
getAbsolutePath
public String getAbsolutePath()
-
trim
public void trim()
-
trim
public void trim(String prefix)
-
appendNode
public void appendNode(Node node)
- Specified by:
appendNodein interfaceClasspathEntry- Overrides:
appendNodein classAbstractClasspathEntry
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractClasspathEntry
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractClasspathEntry
-
toString
public String toString()
- Overrides:
toStringin classAbstractClasspathEntry
-
-