Class CommandExtractorImpl
java.lang.Object
org.incendo.cloud.annotations.extractor.CommandExtractorImpl
- All Implemented Interfaces:
CommandExtractor
-
Constructor Summary
ConstructorsConstructorDescriptionCommandExtractorImpl(@NonNull AnnotationParser<?> annotationParser) Creates a new command extractor. -
Method Summary
Modifier and TypeMethodDescriptionextractCommands(@NonNull Object instance) Extracts the commands from the giveninstance.
-
Constructor Details
-
CommandExtractorImpl
Creates a new command extractor.- Parameters:
annotationParser- annotation parser
-
-
Method Details
-
extractCommands
Description copied from interface:CommandExtractorExtracts the commands from the giveninstance.- Specified by:
extractCommandsin interfaceCommandExtractor- Parameters:
instance- the class instance- Returns:
- the extracted commands
-