org.eclipse.cdt.make.core.scannerconfig
Interface IScannerInfoCollector

All Known Subinterfaces:
IManagedScannerInfoCollector, IScannerInfoCollector2, IScannerInfoCollector3
All Known Implementing Classes:
DefaultGCCScannerInfoCollector, DefaultGnuWinScannerInfoCollector, PerFileSICollector, PerProjectSICollector

public interface IScannerInfoCollector

Interface for scanner info collector. Used by scanner info console parsers. Eclipse independent.

Author:
vhirsl

Method Summary
 void contributeToScannerConfig(java.lang.Object resource, java.util.Map scannerInfo)
          Contribute to resource's scanner configuration
 java.util.List getCollectedScannerInfo(java.lang.Object resource, ScannerInfoTypes type)
          Returns specific piece of discovered scanner info for a resource discovered during the last collection cycle
 

Method Detail

contributeToScannerConfig

void contributeToScannerConfig(java.lang.Object resource,
                               java.util.Map scannerInfo)
Contribute to resource's scanner configuration

Parameters:
resource - - if used from within Eclipse it is expected that resource is a member of org.eclipse.core.resources.IResource hierarchy. If used outside of Eclipse then resource is expected to be a java.io.File type.
scannerInfo - - a map of key - list pairs, where key is the type of extra info i.e. target specific options or imacros commands,...

getCollectedScannerInfo

java.util.List getCollectedScannerInfo(java.lang.Object resource,
                                       ScannerInfoTypes type)
Returns specific piece of discovered scanner info for a resource discovered during the last collection cycle

Parameters:
type -
resource -
Returns: