@Generated(value="PojoBuilder") public class LabelBuilder extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSet$closedIssuesCount$long |
protected boolean |
isSet$color$java$lang$String |
protected boolean |
isSet$description$java$lang$String |
protected boolean |
isSet$name$java$lang$String |
protected boolean |
isSet$openIssuesCount$long |
protected boolean |
isSet$openMergeRequestsCount$long |
protected LabelBuilder |
self |
protected long |
value$closedIssuesCount$long |
protected String |
value$color$java$lang$String |
protected String |
value$description$java$lang$String |
protected String |
value$name$java$lang$String |
protected long |
value$openIssuesCount$long |
protected long |
value$openMergeRequestsCount$long |
Constructor and Description |
---|
LabelBuilder()
Creates a new
LabelBuilder . |
Modifier and Type | Method and Description |
---|---|
Label |
build()
Creates a new
Label based on this builder's settings. |
LabelBuilder |
but()
Returns a clone of this builder.
|
Object |
clone()
Returns a clone of this builder.
|
static LabelBuilder |
label()
Factory Method to construct a LabelBuilder
|
LabelBuilder |
withClosedIssuesCount(long value)
Sets the default value for the closedIssuesCount property.
|
LabelBuilder |
withColor(String value)
Sets the default value for the color property.
|
LabelBuilder |
withDescription(String value)
Sets the default value for the description property.
|
LabelBuilder |
withName(String value)
Sets the default value for the name property.
|
LabelBuilder |
withOpenIssuesCount(long value)
Sets the default value for the openIssuesCount property.
|
LabelBuilder |
withOpenMergeRequestsCount(long value)
Sets the default value for the openMergeRequestsCount property.
|
protected LabelBuilder self
protected String value$name$java$lang$String
protected boolean isSet$name$java$lang$String
protected String value$color$java$lang$String
protected boolean isSet$color$java$lang$String
protected String value$description$java$lang$String
protected boolean isSet$description$java$lang$String
protected long value$openIssuesCount$long
protected boolean isSet$openIssuesCount$long
protected long value$closedIssuesCount$long
protected boolean isSet$closedIssuesCount$long
protected long value$openMergeRequestsCount$long
protected boolean isSet$openMergeRequestsCount$long
public LabelBuilder()
LabelBuilder
.public static LabelBuilder label()
public LabelBuilder withName(String value)
value
- the default valuepublic LabelBuilder withColor(String value)
value
- the default valuepublic LabelBuilder withDescription(String value)
value
- the default valuepublic LabelBuilder withOpenIssuesCount(long value)
value
- the default valuepublic LabelBuilder withClosedIssuesCount(long value)
value
- the default valuepublic LabelBuilder withOpenMergeRequestsCount(long value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public LabelBuilder but()
Copyright © 2016–2022. All rights reserved.