Package com.guinetik.hexafun.hexa
Interface UseCase<I,O>
- Type Parameters:
I- Input type - the input to the use caseO- Output type - the result of the use case
- All Known Implementing Classes:
SysmonHandlers.GetAllMetricsHandler,SysmonHandlers.GetCpuHandler,SysmonHandlers.GetDiskHandler,SysmonHandlers.GetMemoryHandler,UseCaseHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Core abstraction of business logic in Hexagonal Architecture.
Each use case represents a specific operation or workflow in your domain.
-
Method Summary
-
Method Details
-
apply
Apply the use case logic to the input and produce an output.- Parameters:
input- The input to process- Returns:
- The result of the use case
-