Package org.proforma.variability.util
Class MatMethodProviderSetVpValue
- java.lang.Object
-
- org.proforma.variability.util.MatMethodProviderSetVpValue
-
- All Implemented Interfaces:
MatMethodProvider<Object>
public class MatMethodProviderSetVpValue extends Object implements MatMethodProvider<Object>
This materialization method supplies a variation point value that is written to the consumer of a MatArtifact.
The written value is resolved from the variation points. Usually this method is restricted to a single variation point. If there are several variation points, any of the resolved variation point values is written.
-
-
Constructor Summary
Constructors Constructor Description MatMethodProviderSetVpValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Supplier<Object> unusedSupplier, Consumer<Object> consumer, String hint)
Must not be called before {@link #init(MatMethod, CS).Class<?>
getValueType()
Must not be called before {@link #init(MatMethod, CS).void
init(MatMethod m, CV cv)
String
toString()
-
-
-
Method Detail
-
init
public void init(MatMethod m, CV cv)
- Specified by:
init
in interfaceMatMethodProvider<Object>
-
execute
public void execute(Supplier<Object> unusedSupplier, Consumer<Object> consumer, String hint)
Description copied from interface:MatMethodProvider
Must not be called before {@link #init(MatMethod, CS).- Specified by:
execute
in interfaceMatMethodProvider<Object>
-
getValueType
public Class<?> getValueType()
Description copied from interface:MatMethodProvider
Must not be called before {@link #init(MatMethod, CS).- Specified by:
getValueType
in interfaceMatMethodProvider<Object>
-
-