Package org.proforma.variability.util
Class MatArtifactProviderGradingHintsWeights
- java.lang.Object
-
- org.proforma.variability.util.MatArtifactProviderGradingHintsWeights
-
- All Implemented Interfaces:
MatArtifactProvider<Double>
public class MatArtifactProviderGradingHintsWeights extends Object implements MatArtifactProvider<Double>
-
-
Constructor Summary
Constructors Constructor Description MatArtifactProviderGradingHintsWeights()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Ribbon<Double>>
getItems()
void
init(MatArtifact a, Ribbon<TaskUnzipped> tu)
This method supplies task data and the path, where unzipped files are located.String
toString()
-
-
-
Method Detail
-
init
public void init(MatArtifact a, Ribbon<TaskUnzipped> tu)
Description copied from interface:MatArtifactProvider
This method supplies task data and the path, where unzipped files are located. An object of this class usually does read only tu.get() in order to get references to those parts of the task that belong to the artifact. A MatMethod might modify these parts in place.
Taken to the extreme, a MatArtifact may provide tu itself to a MatMethod via getItems. So a MatMethod might replace the whole task and even the path of files, that are referenced by the task.- Specified by:
init
in interfaceMatArtifactProvider<Double>
-
getItems
public Iterable<Ribbon<Double>> getItems()
- Specified by:
getItems
in interfaceMatArtifactProvider<Double>
-
-