Interface ReviewLabel
- All Superinterfaces:
Label
ReviewLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewLabel reviewLabel = ReviewLabel.builder()
.key("{key}")
.title("{title}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewLabelBuilder
builder()
builder factory method for ReviewLabelstatic ReviewLabelBuilder
builder
(ReviewLabel template) create builder for ReviewLabel instancestatic ReviewLabel
deepCopy
(ReviewLabel template) factory method to create a deep copy of ReviewLabel@NotNull String
getKey()
User-defined unique identifier of the Review.@NotNull String
getTitle()
Title of the Review.@NotNull String
getType()
static ReviewLabel
of()
factory methodstatic ReviewLabel
of
(ReviewLabel template) factory method to create a shallow copy ReviewLabelvoid
User-defined unique identifier of the Review.void
Title of the Review.static com.fasterxml.jackson.core.type.TypeReference<ReviewLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withReviewLabel
(Function<ReviewLabel, T> helper) accessor map function
-
Field Details
-
REVIEW_LABEL
discriminator value for ReviewLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Review.
- Returns:
- key
-
getTitle
Title of the Review.
- Returns:
- title
-
setKey
User-defined unique identifier of the Review.
- Parameters:
key
- value to be set
-
setTitle
Title of the Review.
- Parameters:
title
- value to be set
-
of
factory method- Returns:
- instance of ReviewLabel
-
of
factory method to create a shallow copy ReviewLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ReviewLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewLabel- Returns:
- builder
-
builder
create builder for ReviewLabel instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReviewLabel
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-