-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connector): replace IliasService.getCourseItems(Course) with tra…
…versal method this mimics the groovy way of traversing a file tree (http://docs.groovy-lang.org/latest/html/documentation/working-with-io.html#_traversing_file_trees)
- Loading branch information
thetric
committed
Mar 7, 2017
1 parent
d9787b0
commit dab41ab
Showing
5 changed files
with
61 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...com/github/thetric/iliasdownloader/service/webparser/impl/course/CourseSyncService.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package com.github.thetric.iliasdownloader.service.webparser.impl.course | ||
|
||
import com.github.thetric.iliasdownloader.service.IliasService | ||
import com.github.thetric.iliasdownloader.service.model.Course | ||
import com.github.thetric.iliasdownloader.service.model.CourseItem | ||
import org.apache.http.client.fluent.Executor | ||
|
||
interface CourseSyncService { | ||
Collection<Course> getJoinedCourses(Executor httpRequestExecutor) | ||
|
||
Collection<? extends CourseItem> searchAllItems(Course course, Executor httpRequestExecutor) | ||
IliasService.VisitResult visit(CourseItem courseItem, Closure<IliasService.VisitResult> visitMethod, Executor httpRequestExecutor) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
...oovy/com/github/thetric/iliasdownloader/service/webparser/impl/course/CssSelectors.groovy
This file was deleted.
Oops, something went wrong.