Interface ReviewLabel

All Superinterfaces:
Label

public interface ReviewLabel extends Label
ReviewLabel
Example to create an instance using the builder pattern

     ReviewLabel reviewLabel = ReviewLabel.builder()
             .key("{key}")
             .title("{title}")
             .build()
 
  • Field Details

  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Specified by:
      getType in interface Label
      Returns:
      type
    • getKey

      @NotNull @NotNull String getKey()

      User-defined unique identifier of the Review.

      Returns:
      key
    • getTitle

      @NotNull @NotNull String getTitle()

      Title of the Review.

      Returns:
      title
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Review.

      Parameters:
      key - value to be set
    • setTitle

      void setTitle(String title)

      Title of the Review.

      Parameters:
      title - value to be set
    • of

      static ReviewLabel of()
      factory method
      Returns:
      instance of ReviewLabel
    • of

      static ReviewLabel of(ReviewLabel template)
      factory method to create a shallow copy ReviewLabel
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static ReviewLabel deepCopy(@Nullable ReviewLabel template)
      factory method to create a deep copy of ReviewLabel
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ReviewLabelBuilder builder()
      builder factory method for ReviewLabel
      Returns:
      builder
    • builder

      static ReviewLabelBuilder builder(ReviewLabel template)
      create builder for ReviewLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReviewLabel

      default <T> T withReviewLabel(Function<ReviewLabel,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ReviewLabel> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference