public class GetSourcePathTask extends AbstractGetProjectPathTask
Can be used to resolve the source path of a given eclipse java or c project.
Constructor and Description |
---|
GetSourcePathTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowMultipleFolders()
Returns true if multiple folders are supported.
|
protected ResolvedPathEntry[] |
resolvePath()
Resolves the current path.
|
void |
setAllowMultipleFolders(boolean allowMultipleFolders)
Specifies if multiple folders are supported or not.
|
execute, getPathId, getPathSeparator, getProperty, getResolvedPath, isPathIdSet, isPathSeparatorSet, isPropertySet, isRelative, populatePathId, populateProperty, requirePathIdOrPropertySet, setPathId, setPathSeparator, setProperty, setRelative, setResolvedPath
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace
public boolean isAllowMultipleFolders()
Returns true if multiple folders are supported.
true
if multiple folders are supported.public void setAllowMultipleFolders(boolean allowMultipleFolders)
Specifies if multiple folders are supported or not.
allowMultipleFolders
- if multiple folders are supported or not.protected ResolvedPathEntry[] resolvePath() throws java.lang.Exception
Resolves the current path.
resolvePath
in class AbstractGetProjectPathTask
java.lang.Exception
- The resolving process failed for some reason.