Interface Issues.Builder

Enclosing interface:
Issues

public static interface Issues.Builder
A builder for new issue tracker instances.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Issues
    Creates a new Issues instance.
    from(Issues instance)
    Fill a builder with attribute values from the provided Issues instance.
    system(@NotNull String system)
    Sets the name of the issue tracking system used.
    url(@NotNull String url)
    Sets the URL pointing to a web interface for the CI system.
  • Method Details

    • from

      @NotNull @NotNull Issues.Builder from(Issues instance)
      Fill a builder with attribute values from the provided Issues instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder
      Since:
      2.0.0
    • system

      @NotNull @NotNull Issues.Builder system(@NotNull @NotNull String system)
      Sets the name of the issue tracking system used.
      Parameters:
      system - the name
      Returns:
      this builder
      Since:
      2.0.0
    • url

      @NotNull @NotNull Issues.Builder url(@NotNull @NotNull String url)
      Sets the URL pointing to a web interface for the CI system.
      Parameters:
      url - the url
      Returns:
      this builder
      Since:
      2.0.0
    • build

      @NotNull @NotNull Issues build()
      Creates a new Issues instance.

      The system(String) and url(String) properties must be set.

      Returns:
      a new Issues instance
      Since:
      2.0.0