Package net.kyori.indra.api.model
Interface Issues.Builder
-
- Enclosing interface:
- Issues
public static interface Issues.BuilderA builder for new issue tracker instances.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Issuesbuild()Creates a newIssuesinstance.@NotNull Issues.Builderfrom(Issues instance)Fill a builder with attribute values from the providedIssuesinstance.@NotNull Issues.Buildersystem(@NotNull String system)Sets the name of the issue tracking system used.@NotNull Issues.Builderurl(@NotNull String url)Sets the URL pointing to a web interface for the CI system.
-
-
-
Method Detail
-
from
@NotNull @NotNull Issues.Builder from(Issues instance)
Fill a builder with attribute values from the providedIssuesinstance.- 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 newIssuesinstance.The
system(String)andurl(String)properties must be set.- Returns:
- a new
Issuesinstance - Since:
- 2.0.0
-
-