Package ubic.gemma.core.util
Class BashCompletionGenerator
- java.lang.Object
-
- ubic.gemma.core.util.BashCompletionGenerator
-
- All Implemented Interfaces:
CompletionGenerator
public class BashCompletionGenerator extends Object implements CompletionGenerator
-
-
Constructor Summary
Constructors Constructor Description BashCompletionGenerator(Set<String> subcommands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCompletion(PrintWriter writer)
void
beforeCompletion(PrintWriter writer)
void
generateCompletion(org.apache.commons.cli.Options options, PrintWriter writer)
void
generateSubcommandCompletion(String subcommand, org.apache.commons.cli.Options subcommandOptions, String subcommandDescription, boolean allowsPositionalArguments, PrintWriter writer)
-
-
-
Method Detail
-
beforeCompletion
public void beforeCompletion(PrintWriter writer)
- Specified by:
beforeCompletion
in interfaceCompletionGenerator
-
generateCompletion
public void generateCompletion(org.apache.commons.cli.Options options, PrintWriter writer)
- Specified by:
generateCompletion
in interfaceCompletionGenerator
-
generateSubcommandCompletion
public void generateSubcommandCompletion(String subcommand, org.apache.commons.cli.Options subcommandOptions, @Nullable String subcommandDescription, boolean allowsPositionalArguments, PrintWriter writer)
- Specified by:
generateSubcommandCompletion
in interfaceCompletionGenerator
-
afterCompletion
public void afterCompletion(PrintWriter writer)
- Specified by:
afterCompletion
in interfaceCompletionGenerator
-
-