Class NBCLI

java.lang.Object
io.nosqlbench.engine.cli.NBCLI
All Implemented Interfaces:
NBLabeledElement, Function<String[],Integer>

public class NBCLI extends Object implements Function<String[],Integer>, NBLabeledElement
  • Constructor Details

    • NBCLI

      public NBCLI(String commandName)
  • Method Details

    • main

      public static void main(String[] args)
      Only call System.exit with the body of main. This is so that other scenario invocations are handled functionally by apply(String[]), which allows for scenario encapsulation and concurrent testing.
      Parameters:
      args - Command Line Args
    • apply

      public Integer apply(String[] args)
      return null; }

      public static void main(String[] args) {

      Specified by:
      apply in interface Function<String[],Integer>
      Parameters:
      args -
      Returns:
    • applyDirect

      public Integer applyDirect(String[] args)
    • getLabels

      public NBLabels getLabels()
      Specified by:
      getLabels in interface NBLabeledElement