Package com.e1c.g5.v8.dt.check
Interface ICheckResultAcceptor
-
public interface ICheckResultAcceptor
Accepts the check results (if any) during the process of the check.
. The instance of the acceptor is being supplied by the ACC engine into theICheck.check(Object, ICheckResultAcceptor, ICheckParameters, org.eclipse.core.runtime.IProgressMonitor)
. So this interface shouldn't be implemented by check developers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addIssue(Object context, Issue issue)
Adds an issue for a specific object.void
delegateChecks(Iterable<?> delegatedModelIterable)
Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable.
-
-
-
Method Detail
-
addIssue
void addIssue(Object context, Issue issue)
Adds an issue for a specific object. The coordinates in the issue should match the context object otherwise the system will raise an error during the validation or will be unable to navigate to the problem later.- Parameters:
context
- The object the issue will be associated with. The marker of the issue will contain coordinates of this object in navigable form (link) as well. May not benull
issue
- Issue to add. May not benull
-
delegateChecks
void delegateChecks(Iterable<?> delegatedModelIterable)
Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable. This behavior may be used to perform effective checks of non-standard models being created on the fly or taken from non-standard persistent stores. Delegated models are being traversed by the EDT check engine after the main check and applicable subsidiary checks are being applied- Parameters:
delegatedModelIterable
- The iterable that defines the iteration through the subsidiary model. May not benull
-
-