Annotation Type ExternalDiscussion
-
@Retention(RUNTIME) @Target(TYPE) public @interface ExternalDiscussion
Defines a discussion section where the discussion content is provided in a text file on the classpath
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
source
Source containing the discussion content
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<? extends ParagraphsParser>
parser
The parser to use to translate the source specified bysource()
into paragraphsjava.lang.Class<? extends ResourceLocator>[]
sourceLocators
Resource locators used to find the resources specified insource()
-
-
-
-
sourceLocators
java.lang.Class<? extends ResourceLocator>[] sourceLocators
Resource locators used to find the resources specified insource()
- Returns:
- Resource locators to use
- Default:
- {com.github.rvesse.airline.parser.resources.ClasspathLocator.class, com.github.rvesse.airline.parser.resources.ModulePathLocator.class, com.github.rvesse.airline.parser.resources.FileLocator.class}
-
-
-
parser
java.lang.Class<? extends ParagraphsParser> parser
The parser to use to translate the source specified bysource()
into paragraphs- Returns:
- Paragraph parser
- Default:
- com.github.rvesse.airline.help.external.parsers.defaults.DefaultExternalHelpParser.class
-
-