Class CommitBuilder
- 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 Summary
Fields Modifier and Type Field Description protected boolean
isSet$authoredDate$java$util$Date
protected boolean
isSet$authorEmail$java$lang$String
protected boolean
isSet$authorName$java$lang$String
protected boolean
isSet$id$java$lang$String
protected boolean
isSet$message$java$lang$String
protected CommitBuilder
self
protected Date
value$authoredDate$java$util$Date
protected String
value$authorEmail$java$lang$String
protected String
value$authorName$java$lang$String
protected String
value$id$java$lang$String
protected String
value$message$java$lang$String
-
Constructor Summary
Constructors Constructor Description CommitBuilder()
Creates a newCommitBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Commit
build()
Creates a newCommit
based on this builder's settings.CommitBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static CommitBuilder
commit()
Factory Method to construct a CommitBuilderCommitBuilder
withAuthoredDate(Date value)
Sets the default value for the authoredDate property.CommitBuilder
withAuthorEmail(String value)
Sets the default value for the authorEmail property.CommitBuilder
withAuthorName(String value)
Sets the default value for the authorName property.CommitBuilder
withId(String value)
Sets the default value for the id property.CommitBuilder
withMessage(String value)
Sets the default value for the message property.
-
-
-
Field Detail
-
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 Detail
-
CommitBuilder
public CommitBuilder()
Creates a newCommitBuilder
.
-
-
Method Detail
-
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.
-
but
@GwtIncompatible public CommitBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
-