Interface DataStore.Builder.HolderStep

    • Method Detail

      • 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​(java.lang.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