RubricUtils

public class RubricUtils(source)

Utility class for creating Criterions.

Constructors

Link copied to clipboard
public void RubricUtils()

Functions

Link copied to clipboard
public static Criterion criterion(String description, JUnitTestRef testRef)
public static Criterion criterion(String description, int points, Array<JUnitTestRef> testRefs)
public static Criterion criterion(String description, JUnitTestRef testRef, int points)
Creates a new Criterion with the given description and test.
public static Criterion criterion(String description, Array<JUnitTestRef> testRefs)
Link copied to clipboard
public static Criterion.Builder defaultCriterionBuilder(String description, JUnitTestRef testRef)
public static Criterion.Builder defaultCriterionBuilder(String description, Array<JUnitTestRef> testRefs)
Creates a new Criterion.Builder with the given description and test.
Link copied to clipboard
public static Grader graderPrivateOnly()
Creates a Grader for manual tutor grading with a maximum of 1 point.
public static Grader graderPrivateOnly(int points)
Creates a Grader for manual tutor grading.
Link copied to clipboard
public static Grader manualGrader()
Creates a Grader for manual tutor grading with a maximum of 1 point.
public static Grader manualGrader(int points)
Creates a Grader for manual tutor grading.
Link copied to clipboard
public static Grader testAwareGrader(JUnitTestRef testRef)