Klasse ComponentWithIssueCount.ComponentWithIssueCountBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.ComponentWithIssueCount.ComponentWithIssueCountBuilder
- Umschließende Klasse:
ComponentWithIssueCount
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungassignee
(ComponentWithIssueCountAssignee assignee) assigneeType
(ComponentWithIssueCount.AssigneeTypeEnum assigneeType) The nominal user type used to determine the assignee for issues created with this component.build()
description
(String description) The description for the component.The unique identifier for the component.isAssigneeTypeValid
(Boolean isAssigneeTypeValid) Whether a user is associated withassigneeType
.issueCount
(Long issueCount) Count of issues for the component.The name for the component.The key of the project to which the component is assigned.Not used.realAssignee
(ComponentWithIssueCountRealAssignee realAssignee) realAssigneeType
(ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType
.The URL for this count of the issues contained in the component.toString()
-
Methodendetails
-
assignee
public ComponentWithIssueCount.ComponentWithIssueCountBuilder assignee(ComponentWithIssueCountAssignee assignee) - Gibt zurück:
this
.
-
assigneeType
public ComponentWithIssueCount.ComponentWithIssueCountBuilder assigneeType(ComponentWithIssueCount.AssigneeTypeEnum assigneeType) The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeType
for details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEAD
the assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEAD
the assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNED
an assignee is not set for issues created with this component. *PROJECT_DEFAULT
the assignee to any issues created with this component is nominally the default assignee for the project that the component is in.- Gibt zurück:
this
.
-
description
The description for the component.- Gibt zurück:
this
.
-
id
The unique identifier for the component.- Gibt zurück:
this
.
-
isAssigneeTypeValid
public ComponentWithIssueCount.ComponentWithIssueCountBuilder isAssigneeTypeValid(Boolean isAssigneeTypeValid) Whether a user is associated withassigneeType
. For example, if theassigneeType
is set toCOMPONENT_LEAD
but the component lead is not set, thenfalse
is returned.- Gibt zurück:
this
.
-
issueCount
Count of issues for the component.- Gibt zurück:
this
.
-
lead
public ComponentWithIssueCount.ComponentWithIssueCountBuilder lead(ComponentWithIssueCountLead lead) - Gibt zurück:
this
.
-
name
The name for the component.- Gibt zurück:
this
.
-
project
The key of the project to which the component is assigned.- Gibt zurück:
this
.
-
projectId
Not used.- Gibt zurück:
this
.
-
realAssignee
public ComponentWithIssueCount.ComponentWithIssueCountBuilder realAssignee(ComponentWithIssueCountRealAssignee realAssignee) - Gibt zurück:
this
.
-
realAssigneeType
public ComponentWithIssueCount.ComponentWithIssueCountBuilder realAssigneeType(ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType
. For example,assigneeType
is set toCOMPONENT_LEAD
but no component lead is set. This property is set to one of the following values: *PROJECT_LEAD
whenassigneeType
isPROJECT_LEAD
and the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEAD
whenassignee
Type isCOMPONENT_LEAD
and the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNED
whenassigneeType
isUNASSIGNED
and Jira is configured to allow unassigned issues. *PROJECT_DEFAULT
when none of the preceding cases are true.- Gibt zurück:
this
.
-
self
The URL for this count of the issues contained in the component.- Gibt zurück:
this
.
-
build
-
toString
-