Refactor ResultInfo to use Java record

Replaced the ResultInfo class with a Java record for conciseness and immutability. Adjusted related validation logic and method calls to align with the new record structure. Minor updates to Javadoc documentation were also included.
This commit is contained in:
2025-04-26 18:40:38 +02:00
parent 3efbe1eaae
commit a5f892b86a
55 changed files with 619 additions and 118 deletions
@@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (21) on Sat Apr 26 17:44:38 CEST 2025 -->
<title>Verwendungsweise von Klasse codes.thischwa.cf.model.ResultInfo (CloudflareDNS-java 0.2.0-SNAPSHOT
<!-- Generated by javadoc (21) on Sat Apr 26 18:39:33 CEST 2025 -->
<title>Verwendungsweise von Datensatzklasse codes.thischwa.cf.model.ResultInfo (CloudflareDNS-java 0.2.0-SNAPSHOT
API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2025-04-26">
<meta name="description" content="use: package: codes.thischwa.cf.model, class: ResultInfo">
<meta name="description" content="use: package: codes.thischwa.cf.model, record: ResultInfo">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
@@ -50,7 +50,8 @@ loadScripts(document, 'script');</script>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Verwendungen von Klasse codes.thischwa.cf.model.ResultInfo" class="title">Verwendungen von Klasse<br>codes.thischwa.cf.model.ResultInfo</h1>
<h1 title="Verwendungen von Datensatzklasse codes.thischwa.cf.model.ResultInfo" class="title">Verwendungen von
Datensatzklasse<br>codes.thischwa.cf.model.ResultInfo</h1>
</div>
Keine Verwendung von codes.thischwa.cf.model.ResultInfo</main>
<footer role="contentinfo">