Class SourceFolder
java.lang.Object
org.gradle.plugins.ide.eclipse.model.AbstractClasspathEntry
org.gradle.plugins.ide.eclipse.model.SourceFolder
- All Implemented Interfaces:
ClasspathEntry
SourceFolder.path contains only project relative path.
- Since:
- 1.0
-
Field Summary
Fields inherited from class AbstractClasspathEntry
accessRules, COMPONENT_DEPENDENCY_ATTRIBUTE, COMPONENT_NON_DEPENDENCY_ATTRIBUTE, entryAttributes, exported, path -
Constructor Summary
ConstructorsConstructorDescriptionSourceFolder(Node node) Creates a newSourceFolder.SourceFolder(String projectRelativePath, String output) Creates a newSourceFolder. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNode(Node node) Append node.booleanReturns the absolute path.getDir()Returns the dir.Returns the excludes.Returns the includes.getKind()Returns the kind.getName()Returns the name.Returns the output.inthashCode()voidSets the dir.voidsetExcludes(List<String> excludes) Sets the excludes.voidsetIncludes(List<String> includes) Sets the includes.voidSets the name.voidSets the output.toString()voidtrim()Trim.voidTrim.Methods inherited from class AbstractClasspathEntry
addClasspathEntry, getAccessRules, getEntryAttributes, getNativeLibraryLocation, getPath, isExported, normalizePath, setAccessRules, setExported, setNativeLibraryLocation, setPath, writeEntryAttributes
-
Constructor Details
-
SourceFolder
-
SourceFolder
-
-
Method Details
-
getOutput
-
setOutput
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
getDir
-
setDir
-
getName
-
setName
-
getKind
-
getAbsolutePath
-
trim
public void trim()Trim.- Since:
- 2.7
-
trim
-
appendNode
Description copied from interface:ClasspathEntryAppend node.- Specified by:
appendNodein interfaceClasspathEntry- Overrides:
appendNodein classAbstractClasspathEntry
-
equals
- Overrides:
equalsin classAbstractClasspathEntry
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractClasspathEntry
-
toString
- Overrides:
toStringin classAbstractClasspathEntry
-