M1 Vollständiger Grundstand mit Build, Konfiguration, Tests und Smoke-Tests
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# Keep directory
|
||||
@@ -0,0 +1,34 @@
|
||||
package de.gecheckt.pdf.umbenenner.adapter.inbound.cli;
|
||||
|
||||
import de.gecheckt.pdf.umbenenner.application.port.in.RunBatchProcessingUseCase;
|
||||
|
||||
/**
|
||||
* CLI command adapter for batch processing scheduling.
|
||||
* <p>
|
||||
* This class acts as the technical entry point that delegates to the application layer.
|
||||
* AP-003 Implementation: Minimal no-op command to validate the call chain from CLI to Application.
|
||||
*/
|
||||
public class SchedulerBatchCommand {
|
||||
|
||||
private final RunBatchProcessingUseCase useCase;
|
||||
|
||||
/**
|
||||
* Creates a new SchedulerBatchCommand with the given use case.
|
||||
*
|
||||
* @param useCase the batch processing use case to delegate to
|
||||
*/
|
||||
public SchedulerBatchCommand(RunBatchProcessingUseCase useCase) {
|
||||
this.useCase = useCase;
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the batch processing command.
|
||||
* <p>
|
||||
* AP-003: Delegates to the use case without any additional logic.
|
||||
*
|
||||
* @return true if execution succeeded, false otherwise
|
||||
*/
|
||||
public boolean run() {
|
||||
return useCase.execute();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* CLI adapter for inbound commands.
|
||||
* This package contains the technical entry points that delegate to application use cases.
|
||||
* <p>
|
||||
* AP-003: Contains minimal command classes for validating the startup path.
|
||||
*/
|
||||
package de.gecheckt.pdf.umbenenner.adapter.inbound.cli;
|
||||
1
pdf-umbenenner-adapter-in-cli/src/test/java/.gitkeep
Normal file
1
pdf-umbenenner-adapter-in-cli/src/test/java/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# Keep directory
|
||||
@@ -0,0 +1 @@
|
||||
# Keep directory
|
||||
Reference in New Issue
Block a user