Class Commit

java.lang.Object
com.linecorp.centraldogma.common.Commit

public class Commit extends Object
A set of Changes and its metadata.
  • Constructor Details

    • Commit

      public Commit(Revision revision, Author author, String summary, String detail, Markup markup)
      Creates a new instance. The time and date of the new Commit is set to the current time and date.
      Parameters:
      revision - the Revision of this Commit
      author - the Author of this Commit
      summary - the human-readable summary of this Commit
      detail - the human-readable detailed description of this Commit
      markup - the Markup language of summary and detail
    • Commit

      public Commit(Revision revision, Author author, long when, String summary, String detail, Markup markup)
      Creates a new instance.
      Parameters:
      revision - the Revision of this Commit
      author - the Author of this Commit
      when - the time and date of this Commit, represented as the number of milliseconds since the epoch (midnight, January 1, 1970 UTC)
      summary - the human-readable summary of this Commit
      detail - the human-readable detailed description of this Commit
      markup - the Markup language of summary and detail
  • Method Details