T
- The data builder type.K
- The data type.public abstract class GenericDataBuilder<T extends GenericDataBuilder<T,K>,K> extends Object
Modifier and Type | Method and Description |
---|---|
abstract K |
build()
Build the data.
|
T |
withId(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's ID.
|
@NotNull public final T withId(@NotNull @NotNull Supplier<String> supplier)
supplier
- The ID value supplier.@NotNull public abstract K build()
Copyright © 2023. All rights reserved.