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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStore.Builder.SerializersStep
holder(io.leangen.geantyref.TypeToken<? extends DataHolder>... typeTokens)
Adds one or more allowed dataHolder typesDataStore.Builder.SerializersStep
holder(Class<? extends DataHolder>... types)
Adds one or more allowed dataHolder types-
Methods inherited from interface org.spongepowered.api.util.ResettableBuilder
reset
-
-
-
-
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(Class<? extends DataHolder>... types)
Adds one or more allowed dataHolder typesThese must not be parameterized types.
- Parameters:
types
- the dataHolder types- Returns:
- this builder for chaining
-
-