Uses of Interface
com.github.rvesse.airline.examples.ExampleRunnable
-
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples
Methods in com.github.rvesse.airline.examples with type parameters of type ExampleRunnable Modifier and Type Method Description private static <T extends ExampleRunnable>
voidExampleExecutor. execute(T cmd)
static <T extends ExampleRunnable>
voidExampleExecutor. executeCli(Cli<T> cli, java.lang.String[] args)
static <T extends ExampleRunnable>
voidExampleExecutor. executeSingleCommand(java.lang.Class<T> cls, ParserMetadata<T> parserConfig, java.lang.String[] args)
static <T extends ExampleRunnable>
voidExampleExecutor. executeSingleCommand(java.lang.Class<T> cls, java.lang.String[] args)
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.cli.aliases
Classes in com.github.rvesse.airline.examples.cli.aliases that implement ExampleRunnable Modifier and Type Class Description class
Logs
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.cli.commands
Classes in com.github.rvesse.airline.examples.cli.commands that implement ExampleRunnable Modifier and Type Class Description class
BashCompletion
class
Help
class
Manuals
Fields in com.github.rvesse.airline.examples.cli.commands with type parameters of type ExampleRunnable Modifier and Type Field Description private GlobalMetadata<ExampleRunnable>
BashCompletion. global
private GlobalMetadata<ExampleRunnable>
Help. global
private GlobalMetadata<ExampleRunnable>
Manuals. global
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.inheritance
Classes in com.github.rvesse.airline.examples.inheritance that implement ExampleRunnable Modifier and Type Class Description class
BadGrandchild
When inheriting from existing classes the default behaviour is to prevent overriding of options as Airline assumes the conflicting definitions are an error on the part of the developer.class
BaseCommand
class
Child
class
GoodGrandchild
When inheriting from existing classes it is possible to override previously defined options but only if you are explicit about it.class
MaybeVerboseCommand
class
Parent
We can use standard Java inheritance with commands and the child commands will inherit options defined on their parentsFields in com.github.rvesse.airline.examples.inheritance with type parameters of type ExampleRunnable Modifier and Type Field Description protected HelpOption<ExampleRunnable>
Parent. help
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.io
Classes in com.github.rvesse.airline.examples.io that implement ExampleRunnable Modifier and Type Class Description class
ColorDemo<T>
class
Colors256
class
ColorsBasic
class
ColorsTrue
class
Decorations
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.modules
Classes in com.github.rvesse.airline.examples.modules that implement ExampleRunnable Modifier and Type Class Description class
ModuleReuse
Here we have another command which reuses module classes we've defined and also adds locally defined options, we canclass
Modules
If you have some set of options that make sense together you can modularize them out as a class and inject them into your actual command classFields in com.github.rvesse.airline.examples.modules with type parameters of type ExampleRunnable Modifier and Type Field Description private HelpOption<ExampleRunnable>
ModuleReuse. help
private HelpOption<ExampleRunnable>
Modules. help
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.sendit
Classes in com.github.rvesse.airline.examples.sendit that implement ExampleRunnable Modifier and Type Class Description class
CheckAddress
class
CheckPostcodes
class
Price
class
Send
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.simple
Classes in com.github.rvesse.airline.examples.simple that implement ExampleRunnable Modifier and Type Class Description class
Required
A command that has some required optionsclass
RequiredArguments
An example command that has required argumentsclass
Simple
A simple example that demonstrates most of the basic concepts -
Uses of ExampleRunnable in com.github.rvesse.airline.examples.userguide.help.bash
Classes in com.github.rvesse.airline.examples.userguide.help.bash that implement ExampleRunnable Modifier and Type Class Description class
FileInfo
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.userguide.help.sections
Classes in com.github.rvesse.airline.examples.userguide.help.sections that implement ExampleRunnable Modifier and Type Class Description class
Discussed
class
ExternalHelp
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.userguide.parser
Classes in com.github.rvesse.airline.examples.userguide.parser that implement ExampleRunnable Modifier and Type Class Description class
ByteCalculator
-
Uses of ExampleRunnable in com.github.rvesse.airline.examples.userguide.prompts
Classes in com.github.rvesse.airline.examples.userguide.prompts that implement ExampleRunnable Modifier and Type Class Description class
PromptsDemo
-
Uses of ExampleRunnable in com.github.rvesse.airline.jpms.debug
Classes in com.github.rvesse.airline.jpms.debug that implement ExampleRunnable Modifier and Type Class Description class
Debug
-