Package org.proforma.variability.util
Class MatArtifactProviderAttachedTxtFileContents
java.lang.Object
org.proforma.variability.util.MatArtifactProviderAttachedTxtFileContents
- All Implemented Interfaces:
MatArtifactProvider<String>
public class MatArtifactProviderAttachedTxtFileContents
extends Object
implements MatArtifactProvider<String>
-
Constructor Summary
Constructors -
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.toString()
-
Constructor Details
-
MatArtifactProviderAttachedTxtFileContents
public MatArtifactProviderAttachedTxtFileContents()
-
-
Method Details
-
init
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.</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.
- Specified by:
init
in interfaceMatArtifactProvider<String>
-
getItems
- Specified by:
getItems
in interfaceMatArtifactProvider<String>
-
toString
-