All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.interfaces.RubricReader Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package edu.ksu.canvas.interfaces;

import edu.ksu.canvas.model.assignment.Rubric;
import edu.ksu.canvas.requestOptions.GetRubricOptions;

import java.io.IOException;
import java.util.Optional;

public interface RubricReader extends CanvasReader {

    /**
     * Get a single rubric by ID from an account.
     * @param options Request parameters
     * @return The requested rubric object associated with an account
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional getRubricInAccount(GetRubricOptions options) throws IOException;

    /**
     * Get a single rubric by ID from a course.
     * @param options Request parameters
     * @return The requested rubric object associated with a course
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional getRubricInCourse(GetRubricOptions options) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy