Refactoring: Paketnamen und Klassennamen
This commit is contained in:
@@ -32,7 +32,7 @@ import de.gecheckt.pdf.umbenenner.domain.model.BatchRunContext;
|
||||
* <li>The context flows through the entire batch cycle for correlation and logging</li>
|
||||
* </ul>
|
||||
*/
|
||||
public interface RunBatchProcessingUseCase {
|
||||
public interface BatchRunProcessingUseCase {
|
||||
|
||||
/**
|
||||
* Executes the batch processing workflow.
|
||||
@@ -6,7 +6,7 @@
|
||||
* <p>
|
||||
* Central inbound port:
|
||||
* <ul>
|
||||
* <li>{@link de.gecheckt.pdf.umbenenner.application.port.in.RunBatchProcessingUseCase}
|
||||
* <li>{@link de.gecheckt.pdf.umbenenner.application.port.in.BatchRunProcessingUseCase}
|
||||
* — The primary use case for executing a complete batch run</li>
|
||||
* </ul>
|
||||
* <p>
|
||||
|
||||
@@ -2,7 +2,7 @@ package de.gecheckt.pdf.umbenenner.application.usecase;
|
||||
|
||||
import de.gecheckt.pdf.umbenenner.application.config.StartConfiguration;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.in.BatchRunOutcome;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.in.RunBatchProcessingUseCase;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.in.BatchRunProcessingUseCase;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.out.PdfTextExtractionPort;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.out.RunLockPort;
|
||||
import de.gecheckt.pdf.umbenenner.application.port.out.RunLockUnavailableException;
|
||||
@@ -26,7 +26,7 @@ import org.apache.logging.log4j.Logger;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Batch processing implementation of {@link RunBatchProcessingUseCase}.
|
||||
* Batch processing implementation of {@link BatchRunProcessingUseCase}.
|
||||
* <p>
|
||||
* Orchestrates the complete batch processing workflow:
|
||||
* <ol>
|
||||
@@ -53,9 +53,9 @@ import java.util.List;
|
||||
* <li>No cross-run retry logic</li>
|
||||
* </ul>
|
||||
*/
|
||||
public class BatchRunProcessingUseCase implements RunBatchProcessingUseCase {
|
||||
public class DefaultBatchRunProcessingUseCase implements BatchRunProcessingUseCase {
|
||||
|
||||
private static final Logger LOG = LogManager.getLogger(BatchRunProcessingUseCase.class);
|
||||
private static final Logger LOG = LogManager.getLogger(DefaultBatchRunProcessingUseCase.class);
|
||||
|
||||
private final StartConfiguration configuration;
|
||||
private final RunLockPort runLockPort;
|
||||
@@ -74,7 +74,7 @@ public class BatchRunProcessingUseCase implements RunBatchProcessingUseCase {
|
||||
* @param pdfTextExtractionPort for extracting text and page count from a single PDF
|
||||
* @throws NullPointerException if any parameter is null
|
||||
*/
|
||||
public BatchRunProcessingUseCase(
|
||||
public DefaultBatchRunProcessingUseCase(
|
||||
StartConfiguration configuration,
|
||||
RunLockPort runLockPort,
|
||||
SourceDocumentCandidatesPort sourceDocumentCandidatesPort,
|
||||
@@ -5,7 +5,7 @@
|
||||
* <ul>
|
||||
* <li>{@link de.gecheckt.pdf.umbenenner.application.usecase.NoOpRunBatchProcessingUseCase}
|
||||
* — Minimal no-op for technical validation without start protection</li>
|
||||
* <li>{@link de.gecheckt.pdf.umbenenner.application.usecase.BatchRunProcessingUseCase}
|
||||
* <li>{@link de.gecheckt.pdf.umbenenner.application.usecase.DefaultBatchRunProcessingUseCase}
|
||||
* — Production implementation with run lock and controlled batch cycle</li>
|
||||
* </ul>
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user