Interface DataValue<T>

Type Parameters:
T - Type of the value.
All Known Implementing Classes:
BooleanDataValue, BuiltDataValue, ComponentDataValue, DoubleDataValue, GroupsDataValue, NumberDataValue, StringDataValue, TableDataValue

public interface DataValue<T>
Represents a value given to ExtensionDataBuilder.

Please do not implement this class, it is an implementation detail. Obtain instances with ValueBuilder.

  • Method Details Link icon

    • getValue Link icon

      T getValue()
    • getInformation Link icon

      <M> M getInformation(Class<M> ofType)
    • getMetadata Link icon

      default <I extends DataValue<T>> Optional<I> getMetadata(Class<I> metadataType)