Interface Identity

All Superinterfaces:
net.kyori.examination.Examinable

public interface Identity
extends net.kyori.examination.Examinable
An identity.
Since:
4.0.0
  • Method Summary

    Modifier and Type Method Description
    default @NonNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()  
    static @NonNull Identity identity​(@NonNull UUID uuid)
    Creates an identity.
    static @NonNull Identity nil()
    Gets the null identity.
    @NonNull UUID uuid()
    Gets the uuid.

    Methods inherited from interface net.kyori.examination.Examinable

    examinableName, examine
  • Method Details

    • nil

      static @NonNull Identity nil()
      Gets the null identity.
      Returns:
      the null identity
      Since:
      4.0.0
    • identity

      static @NonNull Identity identity​(@NonNull UUID uuid)
      Creates an identity.
      Parameters:
      uuid - the uuid
      Returns:
      an identity
      Since:
      4.0.0
    • uuid

      @NonNull UUID uuid()
      Gets the uuid.
      Returns:
      the uuid
      Since:
      4.0.0
    • examinableProperties

      default @NonNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
      Specified by:
      examinableProperties in interface net.kyori.examination.Examinable