Package com.e1c.g5.v8.dt.check.settings
Interface IBslElementRegionProvider
-
public interface IBslElementRegionProvider
Provides interface to storage with check IDs mapped to line ranges within the BSL module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IBslElementRegionProvider.BslSuppressionsCheckResult
Provides API and storage for suppressed, live (not suppressed) check ids and unprocessed check ids.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBslElementRegionProvider.BslSuppressionsCheckResult
getResult(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Processes storage and provides result which is pair of check id sets: live (or not suppressed) check ids not processed check idsvoid
saveAllowedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Saves allowed checks with mapped line ranges to the storage.void
saveSuppressedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Saves suppressed checks with mapped line ranges to the storage.
-
-
-
Method Detail
-
saveSuppressedRegion
void saveSuppressedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Saves suppressed checks with mapped line ranges to the storage. Rewrites line ranges for existing ids if the existing mapped range is a subset of a new range.- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the set of check ids to map and save to the storage, cannot benull
-
saveAllowedRegion
void saveAllowedRegion(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Saves allowed checks with mapped line ranges to the storage.- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the set of check ids to map and save to the storage, cannot benull
-
getResult
IBslElementRegionProvider.BslSuppressionsCheckResult getResult(org.eclipse.xtext.nodemodel.INode node, Set<String> checkIds)
Processes storage and provides result which is pair of check id sets:- live (or not suppressed) check ids
- not processed check ids
- Parameters:
node
- the node of the semantic element, cannot benull
checkIds
- the check ids to examine, cannot benull
- Returns:
IBslElementRegionProvider.BslSuppressionsCheckResult
, nevernull
-
-