Module dev.metaschema.core
Package dev.metaschema.core.model
Interface IFlagContainerBuilder<T extends IFlagInstance>
- Type Parameters:
T- the Java type of flag instances
- All Known Implementing Classes:
FlagContainerBuilder
public interface IFlagContainerBuilder<T extends IFlagInstance>
Builder for constructing flag container instances.
This interface provides a fluent API for building flag containers by adding flag instances and then building the final container.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the flag container.Add a flag instance to the flag container.
-
Method Details
-
flag
Add a flag instance to the flag container.- Parameters:
instance- the flag instance to add- Returns:
- this builder
-
build
Build the flag container.- Returns:
- the built flag container
-