Package guideme.extensions
Class ExtensionCollection.Builder
java.lang.Object
guideme.extensions.ExtensionCollection.Builder
- Enclosing class:
ExtensionCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Extension>
ExtensionCollection.Builderadd
(ExtensionPoint<T> extensionPoint, T extension) Adds an extension to the given extension point for this guide.addAll
(ExtensionCollection collection) Adds all extensions from the given collection to this builder.addAll
(ExtensionCollection.Builder builder) Adds all extensions from the given collection to this builder.build()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
add
public <T extends Extension> ExtensionCollection.Builder add(ExtensionPoint<T> extensionPoint, T extension) Adds an extension to the given extension point for this guide. -
addAll
Adds all extensions from the given collection to this builder. -
addAll
Adds all extensions from the given collection to this builder. -
build
-