public class Validator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Validator.Disabled |
static class |
Validator.MWEDiagnosticComparator |
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendMessages(java.lang.StringBuilder result,
org.eclipse.emf.mwe.core.issues.MWEDiagnostic[] diagnostics) |
protected java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic> |
getDiagnosticComparator() |
protected com.google.common.collect.Multimap<org.eclipse.emf.common.util.URI,org.eclipse.emf.mwe.core.issues.MWEDiagnostic> |
groupByURI(org.eclipse.emf.mwe.core.issues.MWEDiagnostic[] diagnostic) |
boolean |
isStopOnError() |
boolean |
isValidateAll() |
void |
setStopOnError(boolean stopOnError) |
void |
setValidateAll(boolean validateAll) |
java.lang.String |
toString(org.eclipse.emf.mwe.core.issues.Issues issues) |
void |
validate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
IResourceServiceProvider.Registry registry,
org.eclipse.emf.mwe.core.issues.Issues issues) |
public void setValidateAll(boolean validateAll)
public void setStopOnError(boolean stopOnError)
public boolean isStopOnError()
public boolean isValidateAll()
public void validate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IResourceServiceProvider.Registry registry, org.eclipse.emf.mwe.core.issues.Issues issues)
public java.lang.String toString(org.eclipse.emf.mwe.core.issues.Issues issues)
protected void appendMessages(java.lang.StringBuilder result, org.eclipse.emf.mwe.core.issues.MWEDiagnostic[] diagnostics)
protected com.google.common.collect.Multimap<org.eclipse.emf.common.util.URI,org.eclipse.emf.mwe.core.issues.MWEDiagnostic> groupByURI(org.eclipse.emf.mwe.core.issues.MWEDiagnostic[] diagnostic)
protected java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic> getDiagnosticComparator()