Course Project
class CourseProject
A CourseProject
instance contains a Course and Project. In addition, it contains a CourseUpdater that regularly updates the course, and an Event that is triggered when an update occurs.
Constructors
Link copied to clipboard
constructor(course: Course, courseUrl: URL, project: <Error class: unknown class>, notifier: <Error class: unknown class>)
Construct a course project from the given course, course configuration URL (used for updating), and project.
constructor(course: Course, courseUpdater: ExercisesUpdaterService, exercisesUpdater: ExercisesUpdaterService, project: <Error class: unknown class>, notifier: <Error class: unknown class>)
Construct a course project from the given course, exercises and course updaters, and project.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun readAuthenticationFromStorage(passwordStorage: TokenStorage?, factory: <Error class: unknown class>)
Sets authentication to the one that is read from the password storage and constructed with the given factory.
Link copied to clipboard
Removes user from password storage.
Link copied to clipboard