java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.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$timestamp$java$util$Date Link icon

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

      protected boolean isSet$timestamp$java$util$Date
    • value$url$java$lang$String Link icon

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

      protected boolean isSet$url$java$lang$String
    • value$author$com$dabsquared$gitlabjenkins$gitlab$hook$model$User Link icon

      protected User value$author$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • isSet$author$com$dabsquared$gitlabjenkins$gitlab$hook$model$User Link icon

      protected boolean isSet$author$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • value$added$java$util$List Link icon

      protected List<String> value$added$java$util$List
    • isSet$added$java$util$List Link icon

      protected boolean isSet$added$java$util$List
    • value$modified$java$util$List Link icon

      protected List<String> value$modified$java$util$List
    • isSet$modified$java$util$List Link icon

      protected boolean isSet$modified$java$util$List
    • value$removed$java$util$List Link icon

      protected List<String> value$removed$java$util$List
    • isSet$removed$java$util$List Link icon

      protected boolean isSet$removed$java$util$List
  • 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
    • withTimestamp Link icon

      public CommitBuilder withTimestamp(Date value)
      Sets the default value for the timestamp property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUrl Link icon

      public CommitBuilder withUrl(String value)
      Sets the default value for the url property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAuthor Link icon

      public CommitBuilder withAuthor(User value)
      Sets the default value for the author property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAdded Link icon

      public CommitBuilder withAdded(List<String> value)
      Sets the default value for the added property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withModified Link icon

      public CommitBuilder withModified(List<String> value)
      Sets the default value for the modified property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withRemoved Link icon

      public CommitBuilder withRemoved(List<String> value)
      Sets the default value for the removed 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