Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
AuTA
Core
Commits
faa24d06
Verified
Commit
faa24d06
authored
Aug 23, 2022
by
Luc Everse
Browse files
Options
Downloads
Patches
Plain Diff
Attach Submit metadata to submissions
parent
716866f9
No related branches found
No related tags found
2 merge requests
!179
Release 2.5.0
,
!177
Submit integration
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/src/main/java/nl/tudelft/ewi/auta/core/model/Submission.java
+27
-0
27 additions, 0 deletions
.../main/java/nl/tudelft/ewi/auta/core/model/Submission.java
with
27 additions
and
0 deletions
core/src/main/java/nl/tudelft/ewi/auta/core/model/Submission.java
+
27
−
0
View file @
faa24d06
...
...
@@ -44,6 +44,12 @@ public class Submission {
@Nullable
private
String
cpmVerificationCode
=
null
;
/**
* Submission metadata supplied by Submit.
*/
@Nullable
private
SubmitAppMetadata
submitAppMetadata
=
null
;
/**
* Whether the submission's job was canceled.
*/
...
...
@@ -182,6 +188,25 @@ public class Submission {
this
.
cpmVerificationCode
=
cpmVerificationCode
;
}
/**
* Returns submission metadata supplied by Submit.
*
* @return Submit metadata
*/
@Nullable
public
SubmitAppMetadata
getSubmitAppMetadata
()
{
return
this
.
submitAppMetadata
;
}
/**
* Sets submission metadata supplied by Submit.
*
* @param submitAppMetadata Submit metadata
*/
public
void
setSubmitAppMetadata
(
final
@Nullable
SubmitAppMetadata
submitAppMetadata
)
{
this
.
submitAppMetadata
=
submitAppMetadata
;
}
/**
* Returns whether the submission's job was canceled.
*
...
...
@@ -231,6 +256,7 @@ public class Submission {
&&
Objects
.
equals
(
this
.
name
,
other
.
name
)
&&
Objects
.
equals
(
this
.
contents
,
other
.
contents
)
&&
Objects
.
equals
(
this
.
cpmVerificationCode
,
other
.
cpmVerificationCode
)
&&
Objects
.
equals
(
this
.
submitAppMetadata
,
other
.
submitAppMetadata
)
&&
Objects
.
equals
(
this
.
pipelineLog
,
other
.
pipelineLog
)
&&
this
.
canceled
==
other
.
canceled
;
}
...
...
@@ -243,6 +269,7 @@ public class Submission {
this
.
name
,
this
.
contents
,
this
.
cpmVerificationCode
,
this
.
submitAppMetadata
,
this
.
pipelineLog
,
this
.
canceled
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment