Package net.kyori.indra.api.model
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 TypeMethodDescription@NotNull Issuesbuild()Creates a newIssuesinstance.@NotNull Issues.BuilderFill a builder with attribute values from the providedIssuesinstance.@NotNull Issues.BuilderSets the name of the issue tracking system used.@NotNull Issues.BuilderSets the URL pointing to a web interface for the CI system.
-
Method Details
-
from
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
Sets the name of the issue tracking system used.- Parameters:
system- the name- Returns:
- this builder
- Since:
- 2.0.0
-
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
Creates a newIssuesinstance.The
system(String)andurl(String)properties must be set.- Returns:
- a new
Issuesinstance - Since:
- 2.0.0
-