Package-level declarations

Types

Link copied to clipboard
data class Commit(val id: String, val author: String, val email: String, val date: String, val subject: String, val edits: List<Edit>) : Comparable<Commit>

Represents a git commit. Consists of edits.

Link copied to clipboard
data class Edit(val type: EditType, val added: Int, val deleted: Int, val file: String)

Edit represents a summary of additions and deletions made to a single file.

Link copied to clipboard
Link copied to clipboard

Currently provides controls for returning only after the listed phases are done. Note that the web server connection may time out due to excessive waiting.

Link copied to clipboard
data class Measurement(val project: String, val servers: List<String>, val lab: String? = null, val repositoryUrl: String? = null, val features: List<Feature> = listOf( Feature.IncludeZip, Feature.IncludeGitHistory ), val excludeRoots: List<String> = listOf(".git"))

Information about the measurement. Provide this to the CI agent (repository root)

Link copied to clipboard
data class MeasurementJob(val id: String, val lab: String, val currentTime: String, val submissionTime: String = currentTime, val server: String? = null, val taskServer: String? = null, val monitorKey: String? = null, val portalURL: String? = null, val liveURL: String? = portalURL?.let { "$it/api/v1/proxy/$lab/" }, val version: String? = null, val taskVersion: String? = null, val submissionChecksum: String? = null, val project: String? = null, val startTime: String? = null, var endTime: String? = null, val nodes: List<String>? = null, val meters: List<String>? = null, val estimatedDuration: String? = null, val phase: String? = null, val errorLog: List<String> = listOf(), val processed: Boolean = false, val status: String? = null, val detailedStatus: String? = null, val statusCode: StatusCode = StatusCode.Unknown)
Link copied to clipboard

Used for loading resources stored inside the jar / distribution.

Link copied to clipboard
Link copied to clipboard
data class Submission(val measurement: Measurement?, val dateTime: String, val environment: Map<String, String>, val commits: List<Commit>?, val roots: List<Path> = listOf())