Class RelatedCommandsFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HelpSection createSection​(java.lang.annotation.Annotation annotation)
      Tries to create a section from the given annotation
      java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedAnnotations()
      Gets a list of the supported annotations
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RelatedCommandsFactory

        public RelatedCommandsFactory()
    • Method Detail

      • createSection

        public HelpSection createSection​(java.lang.annotation.Annotation annotation)
        Description copied from interface: HelpSectionFactory
        Tries to create a section from the given annotation
        Specified by:
        createSection in interface HelpSectionFactory
        Parameters:
        annotation - Annotation
        Returns:
        Help section or null if the annotation is not supported
      • supportedAnnotations

        public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedAnnotations()
        Description copied from interface: HelpSectionFactory
        Gets a list of the supported annotations
        Specified by:
        supportedAnnotations in interface HelpSectionFactory
        Returns:
        Supported annotations