@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 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.
|
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)
value
- the default valuepublic CommitBuilder withMessage(String value)
value
- the default valuepublic CommitBuilder withAuthoredDate(Date value)
value
- the default valuepublic CommitBuilder withAuthorName(String value)
value
- the default valuepublic CommitBuilder withAuthorEmail(String value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public CommitBuilder but()
Copyright © 2016–2022. All rights reserved.