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 @NonNull StringexaminableName()Gets the examinable name.default @NonNull Stream<? extends ExaminableProperty>examinableProperties()Gets a stream of examinable properties.default <R> @NonNull Rexamine(@NonNull Examiner<R> examiner)Examines.
-
-
-
Method Detail
-
examinableName
default @NonNull String examinableName()
Gets the examinable name.- Returns:
- the examinable name
- Since:
- 1.0.0
-
examinableProperties
default @NonNull Stream<? extends ExaminableProperty> examinableProperties()
Gets a stream of examinable properties.- Returns:
- a stream of examinable properties
- Since:
- 1.0.0
-
examine
default <R> @NonNull R examine(@NonNull 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
-
-