Interface CheckingResultsViewRow
public interface CheckingResultsViewRow
Represents a single row in the
CheckingResultsView
.
This is not intended for creating new rows, but for identifying them.
A row is always based on one and only one of the following: Result
, ResultCategory
or Result
and Component
combination.
In case the row is based on a combination of result and component, both getters will return a value.- Since:
- 9.12.0
-
Method Summary
Modifier and Type Method Description static CheckingResultsViewRow
create(Result result)
static CheckingResultsViewRow
create(ResultCategory resultCategory)
static CheckingResultsViewRow
create(Result result, Component component)
Optional<Component>
getComponent()
Returns the component.Optional<Result>
getResult()
Returns the checking result.Optional<ResultCategory>
getResultCategory()
Returns the category.Optional<Slide>
getSlide()
Returns the slide that might relate to this row.
-
Method Details
-
getResult
Returns the checking result.- Returns:
- the checking result
- Since:
- 9.12.0
-
getResultCategory
Optional<ResultCategory> getResultCategory()Returns the category.- Returns:
- the category
- Since:
- 9.12.0
-
getComponent
Returns the component.- Returns:
- the component
- Since:
- 9.12.0
-
getSlide
Returns the slide that might relate to this row. This is a helper method that fetches the possible slide from result, category or result-component combination.- Returns:
- the related slide if it exists
- Since:
- 9.12.0
-
create
-
create
-
create
-