@Test public void printUsage() { String usage = cmd.getUsage(); assertEquals(usage, "name => value"); }
@Nonnull @Override public String getUsage() { return "name => value" ; }
Param extends ParameterSetter<CommandException> implements Command { @Nonnull @Override public String getUsage() { return "name => value" ; } }
Param extends ParameterSetter<CommandException> implements Command { @Nonnull @Override public String getUsage() { return "name => value" ; } Param(@Nonnull final ParameterMap parameterMap); }
Param extends ParameterSetter<CommandException> implements Command { @Nonnull @Override public String getUsage() { return "name => value" ; } Param(@Nonnull final ParameterMap parameterMap); @Nonnull @Override String getName(); @Nonnull @Override String getDescription(); @Nonnull @Override String getUsage(); @Nonnull @Override String getHelp(); @Nonnull @Override List<String> getAliases(); }
Param extends ParameterSetter<CommandException> implements Command { @Nonnull @Override public String getUsage() { return "name => value" ; } Param(@Nonnull final ParameterMap parameterMap); @Nonnull @Override String getName(); @Nonnull @Override String getDescription(); @Nonnull @Override String getUsage(); @Nonnull @Override String getHelp(); @Nonnull @Override List<String> getAliases();  }