Interface Examinable


  • public interface Examinable
    Something that can be examined.
    Since:
    1.0.0
    • 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