public class HighestSeverityAbove extends Object implements ReductionFunction
Constructor and Description |
---|
HighestSeverityAbove() |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ReduceFunctionVisitor<T> visitor) |
Status |
getThreshold() |
Optional<StatusWithIndices> |
reduce(List<StatusWithIndex> statuses) |
protected static Optional<StatusWithIndices> |
reduceWithHighestSeverityAbove(List<StatusWithIndex> statuses,
Status threshold) |
void |
setThreshold(Status threshold) |
public Optional<StatusWithIndices> reduce(List<StatusWithIndex> statuses)
reduce
in interface ReductionFunction
protected static Optional<StatusWithIndices> reduceWithHighestSeverityAbove(List<StatusWithIndex> statuses, Status threshold)
public void setThreshold(Status threshold)
public Status getThreshold()
public <T> T accept(ReduceFunctionVisitor<T> visitor)
accept
in interface ReductionFunction
Copyright © 2020. All rights reserved.