Class CommonSectionsFactory
java.lang.Object
com.github.rvesse.airline.help.sections.factories.CommonSectionsFactory
- All Implemented Interfaces:
HelpSectionFactory
A help section factory that implements the common sections built into Airline
-
Field Summary
Fields -
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
-
Field Details
-
SUPPORTED
-
-
Constructor Details
-
CommonSectionsFactory
public CommonSectionsFactory()
-
-
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
-