Class MatArtifactProviderAttachedTxtFileContents

java.lang.Object
org.proforma.variability.util.MatArtifactProviderAttachedTxtFileContents
All Implemented Interfaces:
MatArtifactProvider<String>

public class MatArtifactProviderAttachedTxtFileContents extends Object implements MatArtifactProvider<String>
  • Constructor Details

    • MatArtifactProviderAttachedTxtFileContents

      public MatArtifactProviderAttachedTxtFileContents()
  • Method Details

    • 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.</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 interface MatArtifactProvider<String>
    • getItems

      public Iterable<Ribbon<String>> getItems()
      Specified by:
      getItems in interface MatArtifactProvider<String>
    • toString

      public String toString()
      Overrides:
      toString in class Object