Package org.skriptlang.skript.util
Interface Builder<B extends Builder<B,T>,T>
- Type Parameters:
B- The type of builder being used.T- The type of object being built.
- All Known Subinterfaces:
BukkitSyntaxInfos.Event.Builder<B,,E> DefaultSyntaxInfos.Expression.Builder<B,,E, R> DefaultSyntaxInfos.Structure.Builder<B,,E> SyntaxInfo.Builder<B,E>
@Experimental
public interface Builder<B extends Builder<B,T>,T>
An interface providing common methods to be implemented for any builder.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
build
- Returns:
- An object of
Tbuilt from the values specified by this builder.
-
applyTo
Applies the values of this builder ontobuilder.- Parameters:
builder- The builder to apply values onto.
-