Class CommitBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.CommitBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newCommit
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static CommitBuilder
commit()
Factory Method to construct a CommitBuilderwithAuthoredDate
(Date value) Sets the default value for the authoredDate property.withAuthorEmail
(String value) Sets the default value for the authorEmail property.withAuthorName
(String value) Sets the default value for the authorName property.Sets the default value for the id property.withMessage
(String value) Sets the default value for the message property.
-
Field Details
-
self
-
value$id$java$lang$String
-
isSet$id$java$lang$String
protected boolean isSet$id$java$lang$String -
value$message$java$lang$String
-
isSet$message$java$lang$String
protected boolean isSet$message$java$lang$String -
value$authoredDate$java$util$Date
-
isSet$authoredDate$java$util$Date
protected boolean isSet$authoredDate$java$util$Date -
value$authorName$java$lang$String
-
isSet$authorName$java$lang$String
protected boolean isSet$authorName$java$lang$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 newCommitBuilder
.
-
-
Method Details
-
commit
Factory Method to construct a CommitBuilder- Returns:
- a new CommitBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMessage
Sets the default value for the message property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthoredDate
Sets the default value for the authoredDate property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthorName
Sets the default value for the authorName property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAuthorEmail
Sets the default value for the authorEmail property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newCommit
based on this builder's settings.- Returns:
- the created Commit
-