Class DiagnosticFrequencyMap.Limited
- java.lang.Object
-
- org.eclipse.emfforms.spi.common.validation.DiagnosticFrequencyMap.Unlimited
-
- org.eclipse.emfforms.spi.common.validation.DiagnosticFrequencyMap.Limited
-
- All Implemented Interfaces:
java.lang.Iterable<org.eclipse.emf.common.util.Diagnostic>
,DiagnosticFrequencyMap
- Enclosing interface:
- DiagnosticFrequencyMap
public static class DiagnosticFrequencyMap.Limited extends DiagnosticFrequencyMap.Unlimited
A frequency map of limited size that collects up to and no more than a certain number of diagnostics, keeping the most severe of them.- Since:
- 1.21
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emfforms.spi.common.validation.DiagnosticFrequencyMap
DiagnosticFrequencyMap.Limited, DiagnosticFrequencyMap.Unlimited
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFull()
Queries whether I am full to capacity, unable to accept any more diagnostics.-
Methods inherited from class org.eclipse.emfforms.spi.common.validation.DiagnosticFrequencyMap.Unlimited
add, addDiagnosticFilter, appendTo, clear, getDiscardedSeverity, isEmpty, iterator, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.emfforms.spi.common.validation.DiagnosticFrequencyMap
addAll
-
-
-
-
Method Detail
-
isFull
public boolean isFull()
Description copied from interface:DiagnosticFrequencyMap
Queries whether I am full to capacity, unable to accept any more diagnostics.- Specified by:
isFull
in interfaceDiagnosticFrequencyMap
- Overrides:
isFull
in classDiagnosticFrequencyMap.Unlimited
- Returns:
true
if I have reached my limit of diagnostics;false
, otherwise
-
-