Interface DataStore.Builder.HolderStep

All Superinterfaces:
ResettableBuilder<DataStore,DataStore.Builder>
All Known Subinterfaces:
DataStore.Builder.EndStep, DataStore.Builder.SerializersStep
Enclosing interface:
DataStore.Builder

public static interface DataStore.Builder.HolderStep extends ResettableBuilder<DataStore,DataStore.Builder>
  • Method Details

    • holder

      DataStore.Builder.SerializersStep holder(io.leangen.geantyref.TypeToken<? extends DataHolder>... typeTokens)
      Adds one or more allowed dataHolder types
      Parameters:
      typeTokens - the dataHolder types
      Returns:
      this builder for chaining
    • holder

      DataStore.Builder.SerializersStep holder(Class<? extends DataHolder>... types)
      Adds one or more allowed dataHolder types

      These must not be parameterized types.

      Parameters:
      types - the dataHolder types
      Returns:
      this builder for chaining