edu.ksu.canvas.interfaces.CanvasReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
package edu.ksu.canvas.interfaces;
import java.util.List;
import java.util.function.Consumer;
public interface CanvasReader {
/*
* Perform an operation with a callback. This is used to
* to perform operations on paginated calls before the final
* response is complete.
*/
READERTYPE withCallback(Consumer> responseConsumer);
READERTYPE readAsCanvasUser(String masqueradeAs);
READERTYPE readAsSisUser(String masqueradeAs);
}