java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.CommitBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class CommitBuilder extends Object implements Cloneable
  • Field Details

    • self

      protected CommitBuilder self
    • value$id$java$lang$String

      protected String value$id$java$lang$String
    • isSet$id$java$lang$String

      protected boolean isSet$id$java$lang$String
    • value$message$java$lang$String

      protected String value$message$java$lang$String
    • isSet$message$java$lang$String

      protected boolean isSet$message$java$lang$String
    • value$authoredDate$java$util$Date

      protected Date value$authoredDate$java$util$Date
    • isSet$authoredDate$java$util$Date

      protected boolean isSet$authoredDate$java$util$Date
    • value$authorName$java$lang$String

      protected String value$authorName$java$lang$String
    • isSet$authorName$java$lang$String

      protected boolean isSet$authorName$java$lang$String
    • value$authorEmail$java$lang$String

      protected String value$authorEmail$java$lang$String
    • isSet$authorEmail$java$lang$String

      protected boolean isSet$authorEmail$java$lang$String
  • Constructor Details

    • CommitBuilder

      public CommitBuilder()
      Creates a new CommitBuilder.
  • Method Details

    • commit

      public static CommitBuilder commit()
      Factory Method to construct a CommitBuilder
      Returns:
      a new CommitBuilder
    • withId

      public CommitBuilder withId(String value)
      Sets the default value for the id property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMessage

      public CommitBuilder withMessage(String value)
      Sets the default value for the message property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthoredDate

      public CommitBuilder withAuthoredDate(Date value)
      Sets the default value for the authoredDate property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthorName

      public CommitBuilder withAuthorName(String value)
      Sets the default value for the authorName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthorEmail

      public CommitBuilder withAuthorEmail(String value)
      Sets the default value for the authorEmail property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public CommitBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public Commit build()
      Creates a new Commit based on this builder's settings.
      Returns:
      the created Commit