Package org.proforma.variability.util
Interface MatArtifactProvider<T>
- All Known Implementing Classes:
MatArtifactProviderAttachedTxtFileContents
,MatArtifactProviderFileExistences
,MatArtifactProviderFileNames
,MatArtifactProviderGradingHintsMaxScore
,MatArtifactProviderGradingHintsWeights
,MatArtifactProviderGradingNodeExistences
,MatArtifactProviderTaskXml
public interface MatArtifactProvider<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetItems()
void
init
(MatArtifact a, Ribbon<TaskUnzipped> tu) This method supplies task data and the path, where unzipped files are located.
-
Method Details
-
init
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.</p
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.
- Parameters:
tu
-
-
getItems
-