Package net.kyori.examination
Interface Examinable
public interface Examinable
Something that can be examined.
- Since:
- 1.0.0
-
Method Summary
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 Details
-
examinableName
Gets the examinable name.- Returns:
- the examinable name
- Since:
- 1.0.0
-
examinableProperties
Gets a stream of examinable properties.- Returns:
- a stream of examinable properties
- Since:
- 1.0.0
-
examine
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
-