Module ca.on.oicr.gsi.shesmu
Class CustomRefillerParameter<F,T>
java.lang.Object
ca.on.oicr.gsi.shesmu.plugin.refill.CustomRefillerParameter<F,T>
- Type Parameters:
F
- the refiller typeT
- the type of the input row
Create a custom refiller parameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
The name of the parameter as the user will set it.static <F,
T, R> CustomRefillerParameter<F, T> of
(String name, BiConsumer<F, Function<T, R>> store, TypeGuarantee<R> type) Create a new custom refiller parameterabstract void
Store the value extraction function in the refillerfinal Imyhat
type()
The type of the parameter
-
Constructor Details
-
CustomRefillerParameter
-
-
Method Details
-
of
public static <F,T, CustomRefillerParameter<F,R> T> of(String name, BiConsumer<F, Function<T, R>> store, TypeGuarantee<R> type) Create a new custom refiller parameter- Type Parameters:
F
- the type of the refillerT
- the type of the input rowR
- the type of the value from the olive- Parameters:
name
- the name of the parameterstore
- a callback to install the transformer function into the refiller objecttype
- the type being consumed from Shesmu
-
name
The name of the parameter as the user will set it. -
store
Store the value extraction function in the refiller -
type
The type of the parameter
-