Class SubmissionSet

  • All Implemented Interfaces:
    java.lang.Iterable<Submission>

    public class SubmissionSet
    extends java.lang.Object
    implements java.lang.Iterable<Submission>
    A collection of submissions.
    • Constructor Summary

      Constructors 
      Constructor Description
      SubmissionSet​(Assignment theAssignment)
      Create a submission set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<Submission> iterator()
      Provide access to submissions within this set.
      void setSelectedSubmissions​(java.util.Set<java.lang.String> submissionList)
      Limits the set of submissions that will actually be run.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • SubmissionSet

        public SubmissionSet​(Assignment theAssignment)
        Create a submission set.
        Parameters:
        theAssignment - assignment that these are submissions to.
    • Method Detail

      • iterator

        public java.util.Iterator<Submission> iterator()
        Provide access to submissions within this set.
        Specified by:
        iterator in interface java.lang.Iterable<Submission>
      • setSelectedSubmissions

        public void setSelectedSubmissions​(java.util.Set<java.lang.String> submissionList)
        Limits the set of submissions that will actually be run.
        Parameters:
        submissionList - list of submission names