public interface IResourceValidator
Modifier and Type | Field and Description |
---|---|
static IResourceValidator |
NULL |
Modifier and Type | Method and Description |
---|---|
java.util.List<Issue> |
validate(org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
CancelIndicator indicator)
Validates the given resource according to the
mode . |
static final IResourceValidator NULL
java.util.List<Issue> validate(org.eclipse.emf.ecore.resource.Resource resource, CheckMode mode, CancelIndicator indicator) throws OperationCanceledError
mode
. An optional CancelIndicator
may be provide to allow the method to exit early in case the long running validation was canceled by the
user.OperationCanceledError
- if the validation was cancelled, the method may exit with an OperationCanceledError