Class DebugTars.Builder

  • Enclosing class:
    DebugTars

    public static class DebugTars.Builder
    extends java.lang.Object
    Collect options for the DebugTars command.
    • Method Detail

      • withPath

        public DebugTars.Builder withPath​(java.io.File path)
        The path to an existing segment store. This parameter is required.
        Parameters:
        path - the path to an existing segment store.
        Returns:
        this builder.
      • withTar

        public DebugTars.Builder withTar​(java.lang.String tar)
        Add a TAR file. The command will print information about every TAR file added via this method. It is mandatory to add at least one TAR file.
        Parameters:
        tar - the name of a TAR file.
        Returns:
        this builder.
      • build

        public DebugTars build()
        Create an executable version of the DebugTars command.
        Returns:
        an instance of Runnable.