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 StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSuppression(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.booleanisSuppressed(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:
trueif 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 benullproject- the project, can benullcheckIds- , the original set of check ids, cannot benullbslElementRegionProvider- , theIBslElementRegionProvider, cannot benull- Returns:
- the updated set of check ids w/o suppressions, never
null
-
-