net.sf.ant4eclipse.ant.task.project
Class GetIncludePathTask

java.lang.Object
  extended by Task
      extended by net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
          extended by net.sf.ant4eclipse.ant.task.project.AbstractGetProjectPathTask
              extended by net.sf.ant4eclipse.ant.task.project.GetIncludePathTask

public class GetIncludePathTask
extends AbstractGetProjectPathTask

A task that is used to retrieve the include path of a C/C++ project.


Constructor Summary
GetIncludePathTask()
          Initializes this task.
 
Method Summary
 boolean isAllowMultipleFolders()
          Returns true if multiple folders are supported.
protected  ResolvedPathEntry[] resolvePath()
           Resolves the current path.
 void setAllowMultipleFolders(boolean multiplefolders)
          Enables/disables the support for multiple folders.
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractGetProjectPathTask
execute, getPathId, getPathSeparator, getProperty, getResolvedPath, isPathIdSet, isPathSeparatorSet, isPropertySet, isRelative, populatePathId, populateProperty, requirePathIdOrPropertySet, setPathId, setPathSeparator, setProperty, setRelative, setResolvedPath
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetIncludePathTask

public GetIncludePathTask()
Initializes this task.

Method Detail

isAllowMultipleFolders

public boolean isAllowMultipleFolders()
Returns true if multiple folders are supported.

Returns:
true <=> Multiple folders are supported.

setAllowMultipleFolders

public void setAllowMultipleFolders(boolean multiplefolders)
Enables/disables the support for multiple folders.

Parameters:
multiplefolders - true <=> Support for multiple folders will be enabled.

resolvePath

protected ResolvedPathEntry[] resolvePath()
                                   throws java.lang.Exception

Resolves the current path.

Specified by:
resolvePath in class AbstractGetProjectPathTask
Returns:
A list of resolved pathes.
Throws:
java.lang.Exception - The resolving process failed for some reason.