public final class BasePlugin extends Object implements Plugin<BaseState.Mutable>
BaseState. Another plugin can be used to initialise the base state if it
returns an implementation of BasePlugin.BaseContext.| Modifier and Type | Class and Description |
|---|---|
static interface |
BasePlugin.BaseContext
Base context to initialise base state.
|
Plugin.Builder<A>, Plugin.Context| Constructor and Description |
|---|
BasePlugin() |
| Modifier and Type | Method and Description |
|---|---|
<A> Plugin.Builder<A> |
builder() |
<A> Plugin.Builder<A> |
builder(Function<? super A,? extends BaseState.Mutable> stateProvider) |
BasePlugin.BaseContext |
create(BaseState.Mutable baseState) |
public BasePlugin.BaseContext create(BaseState.Mutable baseState)
create in interface Plugin<BaseState.Mutable>public <A> Plugin.Builder<A> builder()
builder in interface Plugin<BaseState.Mutable>public <A> Plugin.Builder<A> builder(Function<? super A,? extends BaseState.Mutable> stateProvider)
builder in interface Plugin<BaseState.Mutable>Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.