Class SingleValueApplierConfigurer<S,T,OS,OT>
- java.lang.Object
-
- org.palladiosimulator.textual.tpcm.generator.SingleValueApplierConfigurer<S,T,OS,OT>
-
- All Implemented Interfaces:
ValueApplierConfigurer<T,OT>
public class SingleValueApplierConfigurer<S,T,OS,OT> extends Object implements ValueApplierConfigurer<T,OT>
-
-
Constructor Summary
Constructors Constructor Description SingleValueApplierConfigurer(Function<OS,S> setterOnTarget, Class<T> target, Registration<OS,OT> regi)
SingleValueApplierConfigurer(Function<OS,S> setterOnTarget, Registration<OS,OT> regi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
thenSet(BiConsumer<OT,T> apply)
Define how to set the transformed element(s) on the target object.
-
-
-
Method Detail
-
thenSet
public void thenSet(BiConsumer<OT,T> apply)
Description copied from interface:ValueApplierConfigurer
Define how to set the transformed element(s) on the target object. This gets the target element, on which these should be set, as a first parameter and the object(s) to set as the second.- Specified by:
thenSet
in interfaceValueApplierConfigurer<S,T>
-
-