Interface CheckingResultsViewRow
-
public interface CheckingResultsViewRow
Represents a single row in theCheckingResultsView
. 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
orResult
andComponent
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
All Methods Static Methods Instance Methods Abstract Methods 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 Detail
-
getResult
Optional<Result> 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
Optional<Component> getComponent()
Returns the component.- Returns:
- the component
- Since:
- 9.12.0
-
getSlide
Optional<Slide> 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
static CheckingResultsViewRow create(Result result)
-
create
static CheckingResultsViewRow create(Result result, Component component)
-
create
static CheckingResultsViewRow create(ResultCategory resultCategory)
-
-