complete Studio core and JavaFX boundary migration
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 64.01% (20482/31999)
* Branch Coverage: 54.22% (8240/15196)
* Lines of Code: 31999
* Cyclomatic Complexity: 13164
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 15, passed: 715
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 64.01% (20482/31999)
* Branch Coverage: 54.22% (8240/15196)
* Lines of Code: 31999
* Cyclomatic Complexity: 13164
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 15, passed: 715
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package p.studio.api.preferences;
|
||||
|
||||
import p.studio.api.project.ProjectReference;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ProjectActivityHistoryStore {
|
||||
List<ProjectActivityRecord> load(ProjectReference projectReference);
|
||||
|
||||
void save(ProjectReference projectReference, List<ProjectActivityRecord> entries);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package p.studio.api.preferences;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public record ProjectActivityRecord(String source, String message, String severity, boolean sticky) {
|
||||
public ProjectActivityRecord {
|
||||
source = Objects.requireNonNull(source, "source");
|
||||
message = Objects.requireNonNull(message, "message");
|
||||
severity = Objects.requireNonNull(severity, "severity");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package p.studio.api.preferences;
|
||||
|
||||
public record WindowGeometry(double x, double y, double width, double height, boolean maximized) {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package p.studio.api.preferences;
|
||||
|
||||
import p.studio.api.project.ProjectReference;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
public interface WindowStateStore {
|
||||
Optional<WindowGeometry> load(ProjectReference projectReference);
|
||||
|
||||
void save(ProjectReference projectReference, WindowGeometry geometry);
|
||||
}
|
||||
Reference in New Issue
Block a user