Package com.e1c.g5.v8.dt.check.settings
Interface ISuppressSettingsManager
-
- All Superinterfaces:
IManagedService
public interface ISuppressSettingsManager extends IManagedService
Suppress settings manager is responsible for answering the question about check suppressions.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSuppression(IBmObject target, CheckUid checkUid)
Adds a suppression of the given check for a specified model objectSet<String>
excludeSuppressedCheckIds(org.eclipse.emf.ecore.EObject source, org.eclipse.core.resources.IProject project, Set<String> checkIds, IBslElementRegionProvider bslElementRegionProvider)
Excludes suppressed check ids from set of given check ids.boolean
isSuppressed(Object object, String checkId, String checkContributor)
Answers to the question whether the particular check is suppressed for selected object.-
Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSuppressed
boolean isSuppressed(Object object, String checkId, String checkContributor)
Answers to the question whether the particular check is suppressed for selected object.- Parameters:
object
- object to be examinedcheckId
- check identifier- Returns:
true
if the check is suppressed.
-
excludeSuppressedCheckIds
Set<String> excludeSuppressedCheckIds(org.eclipse.emf.ecore.EObject source, org.eclipse.core.resources.IProject project, Set<String> checkIds, IBslElementRegionProvider bslElementRegionProvider)
Excludes suppressed check ids from set of given check ids.- Parameters:
source
- the object being validated, cannot benull
project
- the project, can benull
checkIds
- , the original set of check ids, cannot benull
bslElementRegionProvider
- , theIBslElementRegionProvider
, cannot benull
- Returns:
- the updated set of check ids w/o suppressions, never
null
-
-