Interface UseCaseFactory
-
public interface UseCaseFactoryA factory for use cases.
-
-
Method Detail
-
create
static UseCase create(UseCases useCase) throws IllegalArgumentException
Create the use case based on the command line argument.- Parameters:
useCase- the use case- Returns:
- the use case
- Throws:
IllegalArgumentException- if the command line argument is invalid
-
-