Class ExtendedCommands

java.lang.Object
org.jf.util.jcommander.ExtendedCommands

public class ExtendedCommands extends Object
Utilities related to "extended" commands - JCommander commands with additional information
  • Constructor Details

    • ExtendedCommands

      public ExtendedCommands()
  • Method Details

    • getExtendedParameters

      @Nonnull private static ExtendedParameters getExtendedParameters(Object command)
    • commandName

      @Nonnull public static String commandName(com.beust.jcommander.JCommander jc)
    • commandName

      @Nonnull public static String commandName(Object command)
    • commandAliases

      @Nonnull public static String[] commandAliases(com.beust.jcommander.JCommander jc)
    • commandAliases

      @Nonnull public static String[] commandAliases(Object command)
    • includeParametersInUsage

      public static boolean includeParametersInUsage(com.beust.jcommander.JCommander jc)
    • includeParametersInUsage

      public static boolean includeParametersInUsage(Object command)
    • postfixDescription

      @Nonnull public static String postfixDescription(com.beust.jcommander.JCommander jc)
    • postfixDescription

      @Nonnull public static String postfixDescription(Object command)
    • addExtendedCommand

      public static void addExtendedCommand(com.beust.jcommander.JCommander jc, Command command)
    • parameterArgumentNames

      @Nonnull public static String[] parameterArgumentNames(com.beust.jcommander.ParameterDescription parameterDescription)
    • getSubcommand

      @Nullable public static com.beust.jcommander.JCommander getSubcommand(com.beust.jcommander.JCommander jc, String commandName)
    • getCommandDescription

      @Nullable public static String getCommandDescription(@Nonnull com.beust.jcommander.JCommander jc)