R - T - public static interface FactoriesSetup.FactoryValueSetup<R,T> extends FactoriesSetup.ValueDeclaration<T,FactoriesSetup.FactorySetup<R>>, FactoriesSetup.FactorySetup<R>
FactoriesSetup.FactorySetup.
If no value is given (ie., if a FactoriesSetup.FactorySetup method is called
on this object), the generator of the respective key will be used.FactoriesSetup.BuilderSetup<B,R>, FactoriesSetup.BuilderSetupBase<B,This extends FactoriesSetup.BuilderSetupBase<B,This>>, FactoriesSetup.BuilderValueSetup<B,R,T>, FactoriesSetup.FactorySetup<R>, FactoriesSetup.FactoryValueSetup<R,T>, FactoriesSetup.NewBuilder<R>, FactoriesSetup.NewFactory<R>, FactoriesSetup.ValueDeclaration<T,BuilderSetup>, FactoriesSetup.ValueSetupBase<B>| Modifier and Type | Method and Description |
|---|---|
default FactoriesSetup.FactorySetup<R> |
applyValues(BiFunction<? super R,? super ValueGenerator.ValueMap,? extends R> function)
Applies values and replaces the object under construction with the
function result.
|
default <T> FactoriesSetup.ValueDeclaration<T,? extends FactoriesSetup.FactorySetup<R>> |
assign(String key)
Assigns a value to the value map, but does not modify the object.
|
default FactoriesSetup.FactorySetup<R> |
assignValues(String key,
ValueSource<?> valueSource) |
default FactoriesSetup |
factoriesSetup() |
FactoriesSetup.FactorySetup<R> |
factorySetup() |
default Class<R> |
getValueType()
Returns the type of values produced/contained by this instance.
|
default FactoriesSetup.FactorySetup<R> |
include(String key,
Factory.Include<?> include) |
include, include, include, to, to, to, to, toNext, toNext, toNext, toNext, toValueOf, toValues, toValuesOfadd, add, apply, apply, newFactory, set, set, set, set, toFactoriesapply, assign, assign, assign, assign, assign, include, include, set, then, then, thenApply, thenApplyadd, add, add, add, add, newFactory, newFactory, newFactory, newFactoryFactoriesSetup.FactorySetup<R> factorySetup()
default FactoriesSetup factoriesSetup()
factoriesSetup in interface FactoriesSetup.FactorySetup<R>default <T> FactoriesSetup.ValueDeclaration<T,? extends FactoriesSetup.FactorySetup<R>> assign(String key)
FactoriesSetup.ValueSetupBaseassign in interface FactoriesSetup.BuilderSetupBase<R,FactoriesSetup.FactorySetup<R>>assign in interface FactoriesSetup.FactorySetup<R>assign in interface FactoriesSetup.ValueSetupBase<R>default FactoriesSetup.FactorySetup<R> applyValues(BiFunction<? super R,? super ValueGenerator.ValueMap,? extends R> function)
FactoriesSetup.BuilderSetupBaseapplyValues in interface FactoriesSetup.BuilderSetupBase<R,FactoriesSetup.FactorySetup<R>>default Class<R> getValueType()
Typednull if the type is unknown;
should never return a primitive type.getValueType in interface Typed<R>default FactoriesSetup.FactorySetup<R> assignValues(String key, ValueSource<?> valueSource)
assignValues in interface FactoriesSetup.BuilderSetupBase<R,FactoriesSetup.FactorySetup<R>>assignValues in interface FactoriesSetup.ValueSetupBase<R>default FactoriesSetup.FactorySetup<R> include(String key, Factory.Include<?> include)
include in interface FactoriesSetup.BuilderSetupBase<R,FactoriesSetup.FactorySetup<R>>include in interface FactoriesSetup.ValueSetupBase<R>Copyright © 2019. All rights reserved.