Class Main

java.lang.Object
dev.roanh.gmark.Main

public class Main extends Object
Main class of the command line version of the application, responsible for command handling.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
    Progress listener that report progress to standard out at 10% intervals.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.commons.cli.Options
    The command line options.
    static final String
    The current version of gMark.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    handleConfigurationInput(org.apache.commons.cli.CommandLine cli)
    Handles input when a complete configuration file is provided.
    private static void
    handleInput(org.apache.commons.cli.CommandLine cli)
    Handles the input arguments.
    private static void
    handleWorkloadInput(org.apache.commons.cli.CommandLine cli)
    Handles input when a generated workload file is provided.
    static void
    main(String[] args)
    Main entry point for the CLI version of the application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VERSION

      public static final String VERSION
      The current version of gMark.
      See Also:
    • options

      public static final org.apache.commons.cli.Options options
      The command line options.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      Main entry point for the CLI version of the application.
      Parameters:
      args - The passed command line arguments.
    • handleInput

      private static void handleInput(org.apache.commons.cli.CommandLine cli)
      Handles the input arguments.
      Parameters:
      cli - The command line argument.
    • handleConfigurationInput

      private static void handleConfigurationInput(org.apache.commons.cli.CommandLine cli)
      Handles input when a complete configuration file is provided.
      Parameters:
      cli - The command line arguments.
    • handleWorkloadInput

      private static void handleWorkloadInput(org.apache.commons.cli.CommandLine cli)
      Handles input when a generated workload file is provided.
      Parameters:
      cli - The command line arguments.