Class Revisions.Builder

  • Enclosing class:
    Revisions

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

      • withPath

        public Revisions.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.
      • withOutput

        public Revisions.Builder withOutput​(java.io.File out)
        The file where the output of this command is stored. this parameter is mandatory.
        Parameters:
        out - the output file.
        Returns:
        this builder.
      • build

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