Class LabelBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.LabelBuilder
- All Implemented Interfaces:
- Cloneable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected LabelBuilderprotected longprotected Stringprotected Stringprotected Stringprotected longprotected long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newLabelbased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static LabelBuilderlabel()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$Stringprotected boolean isSet$name$java$lang$String
- 
value$color$java$lang$String
- 
isSet$color$java$lang$Stringprotected boolean isSet$color$java$lang$String
- 
value$description$java$lang$String
- 
isSet$description$java$lang$Stringprotected boolean isSet$description$java$lang$String
- 
value$openIssuesCount$longprotected long value$openIssuesCount$long
- 
isSet$openIssuesCount$longprotected boolean isSet$openIssuesCount$long
- 
value$closedIssuesCount$longprotected long value$closedIssuesCount$long
- 
isSet$closedIssuesCount$longprotected boolean isSet$closedIssuesCount$long
- 
value$openMergeRequestsCount$longprotected long value$openMergeRequestsCount$long
- 
isSet$openMergeRequestsCount$longprotected boolean isSet$openMergeRequestsCount$long
 
- 
- 
Constructor Details- 
LabelBuilderpublic LabelBuilder()Creates a newLabelBuilder.
 
- 
- 
Method Details- 
labelFactory Method to construct a LabelBuilder- Returns:
- a new LabelBuilder
 
- 
withNameSets the default value for the name property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withColorSets the default value for the color property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withDescriptionSets the default value for the description property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withOpenIssuesCountSets the default value for the openIssuesCount property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withClosedIssuesCountSets the default value for the closedIssuesCount property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withOpenMergeRequestsCountSets the default value for the openMergeRequestsCount property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
cloneReturns a clone of this builder.
- 
butReturns a clone of this builder.- Returns:
- the clone
 
- 
buildCreates a newLabelbased on this builder's settings.- Returns:
- the created Label
 
 
-