Module org.jooq
Package org.jooq

Interface Commit

All Superinterfaces:
Node<Commit>, Scope

@Experimental public interface Commit extends Node<Commit>
A change set describing the exact migration path between the Node.parents() versions and the version() represented by this change.
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.
    • tags

      @NotNull @NotNull Collection<Tag> tags()
      The tags associated with this commit, in no particular order.
    • tag

      @NotNull @NotNull Commit tag(String id)
      Add a tag to this commit, returning a copy of the commit itself.
    • tag

      @NotNull @NotNull Commit tag(String id, String message)
      Add a tag to this commit, returning a copy of the commit itself.
    • 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.