org.dropProject.services

package org.dropProject.services

Classes

Name Description
class AssignmentService: Any

AssignmentService provides Assignment related functionality (e.g. list of assignments).

class AssignmentTeacherFiles: Any

Provides functionality related with an Assignment's Teacher Files (for example, checking if the Teacher's submission compiles, passes the CheckStyle, and so on).

class AssignmentValidator: Any

This class performs validation of the assignments created by teachers, in order to make sure that they have the correct formats and include the expected plugins.

class BuildReportBuilder: Any

This class contains functions that perform the creation of BuildReports for both Assignments and Submissions.

class BuildWorker: Any

This class contains functions that execute the build process for Assignments and Submissions.

class GitClient: Any

Provides functionality related with GitHub repositories (for example, pulling the contents of a repository).

class GitSubmissionService: Any

Provides functionality related with handling GitSubmissions (for example, searching for a GitSubmission in the database or deleting a GitSubmission.

data class JacocoResults: Any

Represents the results from the execution of the plugin for unit coverage calculation (Jacoco).

The students test coverage is calculated by DP when the Assignment is configured to evaluate it.

class JacocoResultsParser: Any

Utility for parsing Jacoco coverage results from a String.

enum class JUnitMethodResultType: Enum<JUnitMethodResultType>
data class JUnitMethodResult: Any

Represents the result of executing a certain JUnit Test.

data class JUnitResults: Any

Represents the JUnit Test results for a certain Test class.

class JunitResultsParser: Any

Utility for parsing JUnit test results a String.

class MavenInvoker: Any

Utility to perform Maven related tasks.

class MyAsyncUncaughtExceptionHandler: Any
class ScheduledTasks: Any

Contains functionality related with scheduled tasks (tasks that are executed with a certain regularity; for example, cleaning expired submissions).

class SubmissionService: Any

Contains functionality related with Submissions (for example, get submissions from the database).

class ZipService: Any

Utility to create ZIP files based on folder contents.

Methods

hasCoverageReport

fun hasCoverageReport(mavenizedProjectFolder: File): Boolean

Determines if a project's POM file contains the configuration to calculate the code's test coverage report.

Parameters

Name Description
mavenizedProjectFolder: File

ReturnValue

Name Description
Boolean

a Boolean