org.eclipse.cdt.make.internal.core.scannerconfig
Class DiscoveredPathInfo

java.lang.Object
  extended by org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathInfo
All Implemented Interfaces:
IDiscoveredPathManager.IDiscoveredPathInfo, IDiscoveredPathManager.IDiscoveredScannerInfoSerializable, IDiscoveredPathManager.IPerProjectDiscoveredPathInfo

public class DiscoveredPathInfo
extends java.lang.Object
implements IDiscoveredPathManager.IPerProjectDiscoveredPathInfo, IDiscoveredPathManager.IDiscoveredScannerInfoSerializable


Field Summary
static java.lang.String DEFINED_SYMBOL
           
static java.lang.String INCLUDE_PATH
           
static java.lang.String PATH
           
static java.lang.String REMOVED
           
static java.lang.String SYMBOL
           
 
Constructor Summary
DiscoveredPathInfo(org.eclipse.core.resources.IProject project)
           
 
Method Summary
 void deserialize(org.w3c.dom.Element collectorElem)
          Deserialize discovered scanner info from an XML element
 java.lang.String getCollectorId()
           
 java.util.LinkedHashMap getIncludeMap()
           
 org.eclipse.core.runtime.IPath[] getIncludePaths()
          Get include paths for the whole project
 org.eclipse.core.resources.IProject getProject()
           
 IDiscoveredPathManager.IDiscoveredScannerInfoSerializable getSerializable()
           
 java.util.LinkedHashMap getSymbolMap()
           
 java.util.Map getSymbols()
          Get defined symbols for the whole project
 void serialize(org.w3c.dom.Element collectorElem)
          Serialize discovered scanner info to an XML element
 void setIncludeMap(java.util.LinkedHashMap paths)
           
 void setSymbolMap(java.util.LinkedHashMap symbols)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUDE_PATH

public static final java.lang.String INCLUDE_PATH
See Also:
Constant Field Values

PATH

public static final java.lang.String PATH
See Also:
Constant Field Values

DEFINED_SYMBOL

public static final java.lang.String DEFINED_SYMBOL
See Also:
Constant Field Values

SYMBOL

public static final java.lang.String SYMBOL
See Also:
Constant Field Values

REMOVED

public static final java.lang.String REMOVED
See Also:
Constant Field Values
Constructor Detail

DiscoveredPathInfo

public DiscoveredPathInfo(org.eclipse.core.resources.IProject project)
Method Detail

getProject

public org.eclipse.core.resources.IProject getProject()
Specified by:
getProject in interface IDiscoveredPathManager.IDiscoveredPathInfo

getSymbols

public java.util.Map getSymbols()
Description copied from interface: IDiscoveredPathManager.IDiscoveredPathInfo
Get defined symbols for the whole project

Specified by:
getSymbols in interface IDiscoveredPathManager.IDiscoveredPathInfo

getIncludePaths

public org.eclipse.core.runtime.IPath[] getIncludePaths()
Description copied from interface: IDiscoveredPathManager.IDiscoveredPathInfo
Get include paths for the whole project

Specified by:
getIncludePaths in interface IDiscoveredPathManager.IDiscoveredPathInfo

getIncludeMap

public java.util.LinkedHashMap getIncludeMap()
Specified by:
getIncludeMap in interface IDiscoveredPathManager.IPerProjectDiscoveredPathInfo

setIncludeMap

public void setIncludeMap(java.util.LinkedHashMap paths)
Specified by:
setIncludeMap in interface IDiscoveredPathManager.IPerProjectDiscoveredPathInfo

getSymbolMap

public java.util.LinkedHashMap getSymbolMap()
Specified by:
getSymbolMap in interface IDiscoveredPathManager.IPerProjectDiscoveredPathInfo

setSymbolMap

public void setSymbolMap(java.util.LinkedHashMap symbols)
Specified by:
setSymbolMap in interface IDiscoveredPathManager.IPerProjectDiscoveredPathInfo

serialize

public void serialize(org.w3c.dom.Element collectorElem)
Description copied from interface: IDiscoveredPathManager.IDiscoveredScannerInfoSerializable
Serialize discovered scanner info to an XML element

Specified by:
serialize in interface IDiscoveredPathManager.IDiscoveredScannerInfoSerializable

deserialize

public void deserialize(org.w3c.dom.Element collectorElem)
Description copied from interface: IDiscoveredPathManager.IDiscoveredScannerInfoSerializable
Deserialize discovered scanner info from an XML element

Specified by:
deserialize in interface IDiscoveredPathManager.IDiscoveredScannerInfoSerializable

getCollectorId

public java.lang.String getCollectorId()
Specified by:
getCollectorId in interface IDiscoveredPathManager.IDiscoveredScannerInfoSerializable
Returns:
an id of the collector

getSerializable

public IDiscoveredPathManager.IDiscoveredScannerInfoSerializable getSerializable()
Specified by:
getSerializable in interface IDiscoveredPathManager.IDiscoveredPathInfo