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 Link icon

    • self Link icon

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

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

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

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

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

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

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

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

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

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

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

    • CommitBuilder Link icon

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

    • commit Link icon

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

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

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

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

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

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

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

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

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