Interface CloudKeyHolder<T>

Type Parameters:
T - The type of the key value.
All Known Subinterfaces:
PredicatePermission<C>
All Known Implementing Classes:
ArgumentPair, ArgumentTriplet, BooleanArgument, ByteArgument, CharArgument, CommandArgument, CompoundArgument, DoubleArgument, DurationArgument, EnumArgument, FlagArgument, FloatArgument, IntegerArgument, LongArgument, ShortArgument, StaticArgument, StringArgument, StringArrayArgument, UUIDArgument
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @API(status=STABLE, since="1.4.0") public interface CloudKeyHolder<T>
Represents any object that holds a CloudKey
Since:
1.4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull CloudKey<T>
    Get the key that identifies this object.
  • Method Details

    • getKey

      @NonNull CloudKey<T> getKey()
      Get the key that identifies this object.
      Returns:
      Identifying key.