Package org.eclipse.cdt.core.build
Class ScannerInfoCache
java.lang.Object
org.eclipse.cdt.core.build.ScannerInfoCache
Scanner info for a given build configuration.
- Since:
- 6.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(List<String> commandStrings, org.eclipse.core.resources.IResource resource) voidaddScannerInfo(List<String> commandStrings, IExtendedScannerInfo info, org.eclipse.core.resources.IResource resource) getScannerInfo(List<String> commandStrings) getScannerInfo(org.eclipse.core.resources.IResource resource) booleanhasCommand(List<String> commandStrings) booleanhasResource(List<String> commandStrings, org.eclipse.core.resources.IResource resource) voidInitialize the cache of scanner info.voidremoveCommand(List<String> commandStrings) voidremoveResource(org.eclipse.core.resources.IResource resource)
-
Constructor Details
-
ScannerInfoCache
public ScannerInfoCache()
-
-
Method Details
-
initCache
public void initCache()Initialize the cache of scanner info. Call this after loading this info using Gson. -
getScannerInfo
-
getScannerInfo
-
hasCommand
-
addScannerInfo
public void addScannerInfo(List<String> commandStrings, IExtendedScannerInfo info, org.eclipse.core.resources.IResource resource) -
hasResource
public boolean hasResource(List<String> commandStrings, org.eclipse.core.resources.IResource resource) - Since:
- 6.3
-
addResource
-
removeResource
public void removeResource(org.eclipse.core.resources.IResource resource) - Since:
- 6.4
-
removeCommand
- Since:
- 6.4
-