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

This commit is contained in:
2026-09-25 11:28:18 +01:00
parent 10f1b3f87c
commit a0a5050d5e
461 changed files with 9319 additions and 7205 deletions
@@ -0,0 +1,23 @@
package p.studio.api.runtime;
import p.studio.api.execution.ExecutionLogSeverity;
import java.time.Instant;
import java.util.Objects;
public record RuntimeLogEntry(ExecutionLogSeverity severity, String message, Instant timestamp) {
public RuntimeLogEntry {
Objects.requireNonNull(severity, "severity");
message = Objects.requireNonNull(message, "message").trim();
if (message.isBlank()) throw new IllegalArgumentException("message must not be blank");
timestamp = timestamp == null ? Instant.now() : timestamp;
}
public static RuntimeLogEntry info(String message) {
return new RuntimeLogEntry(ExecutionLogSeverity.INFO, message, Instant.now());
}
public static RuntimeLogEntry error(String message) {
return new RuntimeLogEntry(ExecutionLogSeverity.ERROR, message, Instant.now());
}
}