Package net.kyori.examination
Interface Examinable
-
public interface ExaminableSomething that can be examined.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NotNull StringexaminableName()Gets the examinable name.default @NotNull Stream<? extends ExaminableProperty>examinableProperties()Gets a stream of examinable properties.default <R> Rexamine(@NotNull Examiner<R> examiner)Examines.
-
-
-
Method Detail
-
examinableName
@NotNull default @NotNull String examinableName()
Gets the examinable name.- Returns:
- the examinable name
- Since:
- 1.0.0
-
examinableProperties
@NotNull default @NotNull Stream<? extends ExaminableProperty> examinableProperties()
Gets a stream of examinable properties.- Returns:
- a stream of examinable properties
- Since:
- 1.0.0
-
examine
@NotNull default <R> R examine(@NotNull @NotNull Examiner<R> examiner)Examines.You should not override this method.
- Type Parameters:
R- the result type- Parameters:
examiner- the examiner- Returns:
- the examination result
- Since:
- 1.0.0
-
-