Module org.jooq
Package org.jooq

Interface Commit

All Superinterfaces:
Node<Commit>

@Experimental public interface Commit extends Node<Commit>
A commit in a version control system.
Author:
Lukas Eder
  • Method Details

    • delta

      @NotNull @NotNull Collection<File> delta()
      The files affected by this commit, in no particular order.
    • files

      @NotNull @NotNull Collection<File> files()
      The files after this commit, in no particular order.
    • sources

      @NotNull @NotNull Collection<Source> sources()
      The sources after this commit, in no particular order.
    • version

      @NotNull @NotNull Version version()
      Get the version representing this commit.
    • meta

      @NotNull @NotNull Meta meta()
      Get the meta data representing this commit.
    • migrateTo

      @NotNull @NotNull Files migrateTo(Commit commit)
      Create a version graph when migrating between two commits.
    • commit

      @NotNull @NotNull Commit commit(String id, File... delta)
      Create a new commit on top of this one.
    • commit

      @NotNull @NotNull Commit commit(String id, Collection<? extends File> delta)
      Create a new commit on top of this one.
    • commit

      @NotNull @NotNull Commit commit(String id, String message, File... delta)
      Create a new commit on top of this one.
    • commit

      @NotNull @NotNull Commit commit(String id, String message, Collection<? extends File> delta)
      Create a new commit on top of this one.
    • merge

      @NotNull @NotNull Commit merge(String id, Commit with, File... delta)
      Merge two commits.
    • merge

      @NotNull @NotNull Commit merge(String id, Commit with, Collection<? extends File> delta)
      Merge two commits.
    • merge

      @NotNull @NotNull Commit merge(String id, String message, Commit with, File... delta)
      Merge two commits.
    • merge

      @NotNull @NotNull Commit merge(String id, String message, Commit with, Collection<? extends File> delta)
      Merge two commits.