edu.ksu.canvas.interfaces.FeatureFlagReader 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 edu.ksu.canvas.model.FeatureFlag;
import java.io.IOException;
import java.util.Optional;
public interface FeatureFlagReader extends CanvasReader {
Optional getCourseFeatureFlag(String courseId, String feature) throws IOException;
Optional getAccountFeatureFlag(String accountId, String feature) throws IOException;
Optional getUserFeatureFlag(String userId, String feature) throws IOException;
}