data class GitSubmission: Any
Fields
Name | Description |
---|---|
lateinit var group: ProjectGroup
|
is a ProjectGroup |
val id: Long
|
is a Long with a primary-key like generated value |
val assignmentId: String
|
is a String identifying the relevant Assignment |
var submitterUserId: String
|
is a String identifying the user that performed the submission |
val createDate: Date
|
is a Date |
var connected: Boolean
|
is a Boolean |
var lastCommitDate: Date?
|
is a Date with the date of the last commit performed in the GitHub repository |
var lastSubmissionId: Long?
|
is a Long |
val gitRepositoryUrl: String
|
is a String with the URL of the GitHub repository |
var gitRepositoryPubKey: String?
|
is a String |
var gitRepositoryPrivKey: String?
|
is a String |
Constructors
<init>
constructor(assignmentId: String, submitterUserId: String, gitRepositoryUrl: String, group: ProjectGroup)
Parameters
Name | Description |
---|---|
assignmentId: String
|
|
submitterUserId: String
|
|
gitRepositoryUrl: String
|
|
group: ProjectGroup
|
<init>
constructor(id: Long, assignmentId: String, submitterUserId: String, createDate: Date, connected: Boolean, lastCommitDate: Date?, lastSubmissionId: Long?, gitRepositoryUrl: String, gitRepositoryPubKey: String?, gitRepositoryPrivKey: String?)
Represents a GitSubmission which is a Submission performed by connecting to a GitHub repository and pulling it's code.
Parameters
Name | Description |
---|---|
id: Long
|
|
assignmentId: String
|
|
submitterUserId: String
|
|
createDate: Date
|
|
connected: Boolean
|
|
lastCommitDate: Date?
|
|
lastSubmissionId: Long?
|
|
gitRepositoryUrl: String
|
|
gitRepositoryPubKey: String?
|
|
gitRepositoryPrivKey: String?
|
Methods
getFolderRelativeToStorageRoot
fun getFolderRelativeToStorageRoot(): String
ReturnValue
Name | Description |
---|---|
String
|
Represents a GitSubmission which is a Submission performed by connecting to a GitHub repository and pulling it's code.