Class ComponentWithIssueCount.ComponentWithIssueCountBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.ComponentWithIssueCount.ComponentWithIssueCountBuilder
- Enclosing class:
- ComponentWithIssueCount
-
Method Summary
Modifier and TypeMethodDescriptionassigneeType(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(User 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()
-
Method Details
-
assignee
- Returns:
this.
-
assigneeType
public ComponentWithIssueCount.ComponentWithIssueCountBuilder assigneeType(ComponentWithIssueCount.AssigneeTypeEnum assigneeType) The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeTypefor details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEADthe assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEADthe assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNEDan assignee is not set for issues created with this component. *PROJECT_DEFAULTthe assignee to any issues created with this component is nominally the default assignee for the project that the component is in.- Returns:
this.
-
description
The description for the component.- Returns:
this.
-
id
The unique identifier for the component.- Returns:
this.
-
isAssigneeTypeValid
public ComponentWithIssueCount.ComponentWithIssueCountBuilder isAssigneeTypeValid(Boolean isAssigneeTypeValid) Whether a user is associated withassigneeType. For example, if theassigneeTypeis set toCOMPONENT_LEADbut the component lead is not set, thenfalseis returned.- Returns:
this.
-
issueCount
Count of issues for the component.- Returns:
this.
-
lead
- Returns:
this.
-
name
The name for the component.- Returns:
this.
-
project
The key of the project to which the component is assigned.- Returns:
this.
-
projectId
Not used.- Returns:
this.
-
realAssignee
- Returns:
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,assigneeTypeis set toCOMPONENT_LEADbut no component lead is set. This property is set to one of the following values: *PROJECT_LEADwhenassigneeTypeisPROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEADwhenassigneeType isCOMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNEDwhenassigneeTypeisUNASSIGNEDand Jira is configured to allow unassigned issues. *PROJECT_DEFAULTwhen none of the preceding cases are true.- Returns:
this.
-
self
The URL for this count of the issues contained in the component.- Returns:
this.
-
build
-
toString
-