@Generated(value="PojoBuilder") public class CommitBuilder extends Object implements Cloneable
Modifier and Type | Field and 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 and Description |
---|
CommitBuilder()
Creates a new
CommitBuilder . |
Modifier and Type | Method and Description |
---|---|
Commit |
build()
Creates a new
Commit 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 CommitBuilder
|
CommitBuilder |
withAuthoredDate(Date value)
Sets the default value for the
Commit.authoredDate property. |
CommitBuilder |
withAuthorEmail(String value)
Sets the default value for the
Commit.authorEmail property. |
CommitBuilder |
withAuthorName(String value)
Sets the default value for the
Commit.authorName property. |
CommitBuilder |
withId(String value)
Sets the default value for the
Commit.id property. |
CommitBuilder |
withMessage(String value)
Sets the default value for the
Commit.message property. |
protected CommitBuilder self
protected String value$id$java$lang$String
protected boolean isSet$id$java$lang$String
protected String value$message$java$lang$String
protected boolean isSet$message$java$lang$String
protected Date value$authoredDate$java$util$Date
protected boolean isSet$authoredDate$java$util$Date
protected String value$authorName$java$lang$String
protected boolean isSet$authorName$java$lang$String
protected String value$authorEmail$java$lang$String
protected boolean isSet$authorEmail$java$lang$String
public CommitBuilder()
CommitBuilder
.public static CommitBuilder commit()
public CommitBuilder withId(String value)
Commit.id
property.value
- the default valuepublic CommitBuilder withMessage(String value)
Commit.message
property.value
- the default valuepublic CommitBuilder withAuthoredDate(Date value)
Commit.authoredDate
property.value
- the default valuepublic CommitBuilder withAuthorName(String value)
Commit.authorName
property.value
- the default valuepublic CommitBuilder withAuthorEmail(String value)
Commit.authorEmail
property.value
- the default valuepublic Object clone()
public CommitBuilder but()
Copyright © 2016. All rights reserved.