Class RelatedCommandsFactory
java.lang.Object
com.github.rvesse.airline.examples.userguide.help.sections.custom.RelatedCommandsFactory
- All Implemented Interfaces:
HelpSectionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSection(Annotation annotation) Tries to create a section from the given annotationList<Class<? extends Annotation>> Gets a list of the supported annotations
-
Constructor Details
-
RelatedCommandsFactory
public RelatedCommandsFactory()
-
-
Method Details
-
createSection
Description copied from interface:HelpSectionFactoryTries to create a section from the given annotation- Specified by:
createSectionin interfaceHelpSectionFactory- Parameters:
annotation- Annotation- Returns:
- Help section or
nullif the annotation is not supported
-
supportedAnnotations
Description copied from interface:HelpSectionFactoryGets a list of the supported annotations- Specified by:
supportedAnnotationsin interfaceHelpSectionFactory- Returns:
- Supported annotations
-