Class LabelBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.LabelBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected LabelBuilder
protected long
protected String
protected String
protected String
protected long
protected long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newLabel
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static LabelBuilder
label()
Factory Method to construct a LabelBuilderwithClosedIssuesCount
(long value) Sets the default value for the closedIssuesCount property.Sets the default value for the color property.withDescription
(String value) Sets the default value for the description property.Sets the default value for the name property.withOpenIssuesCount
(long value) Sets the default value for the openIssuesCount property.withOpenMergeRequestsCount
(long value) Sets the default value for the openMergeRequestsCount property.
-
Field Details
-
self
-
value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String -
value$color$java$lang$String
-
isSet$color$java$lang$String
protected boolean isSet$color$java$lang$String -
value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String -
value$openIssuesCount$long
protected long value$openIssuesCount$long -
isSet$openIssuesCount$long
protected boolean isSet$openIssuesCount$long -
value$closedIssuesCount$long
protected long value$closedIssuesCount$long -
isSet$closedIssuesCount$long
protected boolean isSet$closedIssuesCount$long -
value$openMergeRequestsCount$long
protected long value$openMergeRequestsCount$long -
isSet$openMergeRequestsCount$long
protected boolean isSet$openMergeRequestsCount$long
-
-
Constructor Details
-
LabelBuilder
public LabelBuilder()Creates a newLabelBuilder
.
-
-
Method Details
-
label
Factory Method to construct a LabelBuilder- Returns:
- a new LabelBuilder
-
withName
Sets the default value for the name property.- Parameters:
value
- the default value- Returns:
- this builder
-
withColor
Sets the default value for the color property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withOpenIssuesCount
Sets the default value for the openIssuesCount property.- Parameters:
value
- the default value- Returns:
- this builder
-
withClosedIssuesCount
Sets the default value for the closedIssuesCount property.- Parameters:
value
- the default value- Returns:
- this builder
-
withOpenMergeRequestsCount
Sets the default value for the openMergeRequestsCount 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 newLabel
based on this builder's settings.- Returns:
- the created Label
-