Package de.qytera.qtaf.xray.dto.jira
Class ComponentDto<U extends UserDto<?,?>>
java.lang.Object
de.qytera.qtaf.xray.dto.jira.ComponentDto<U>
- Type Parameters:
U- the user type
- Direct Known Subclasses:
ComponentCloudDto,ComponentServerDto
Details about a project component.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe user type used to determine the assignee for issues created with a component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe details of the user associated with assigneeType, if any.The nominal user type used to determine the assignee for issues created with a component.The description for the component.getId()The unique identifier for the component.Whether a user is associated withgetAssigneeType().getLead()The user details for the component's lead user.getName()The unique name for the component in the project.The key of the project the component is assigned to.The ID of the project the component is assigned to.The user assigned to issues created with this component, whengetAssigneeType()does not identify a valid assignee.The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from thegetAssigneeType().getSelf()The URL of the component.inthashCode()voidsetAssignee(U assignee) The details of the user associated with assigneeType, if any.voidsetAssigneeType(ComponentDto.AssigneeType assigneeType) The nominal user type used to determine the assignee for issues created with a component.voidsetDescription(String description) The description for the component.voidThe unique identifier for the component.voidsetIsAssigneeTypeValid(Boolean isAssigneeTypeValid) Whether a user is associated withgetAssigneeType().voidThe user details for the component's lead user.voidThe unique name for the component in the project.voidsetProject(String project) The key of the project the component is assigned to.voidsetProjectId(Integer projectId) The ID of the project the component is assigned to.voidsetRealAssignee(U realAssignee) The user assigned to issues created with this component, whengetAssigneeType()does not identify a valid assignee.voidsetRealAssigneeType(ComponentDto.AssigneeType realAssigneeType) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from thegetAssigneeType().voidThe URL of the component.toString()
-
Constructor Details
-
ComponentDto
public ComponentDto()
-
-
Method Details
-
getSelf
The URL of the component. -
getId
The unique identifier for the component. -
getName
The unique name for the component in the project. Required when creating a component. Optional when updating a component. The maximum length is 255 characters. -
getDescription
The description for the component. Optional when creating or updating a component. -
getLead
The user details for the component's lead user. -
getAssigneeType
The nominal user type used to determine the assignee for issues created with a component. SeegetRealAssigneeType()for details on how the type of the user, and hence the user, assigned to issues is determined. -
getAssignee
The details of the user associated with assigneeType, if any. SeegetRealAssignee()for details of the user assigned to issues created with this component. -
getRealAssigneeType
The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from thegetAssigneeType(). For example,getAssigneeType()is set toComponentDto.AssigneeType.COMPONENT_LEADbut no component lead is set.This property is set to one of the following values:
ComponentDto.AssigneeType.PROJECT_LEAD-
When
getAssigneeType()isComponentDto.AssigneeType.PROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. ComponentDto.AssigneeType.COMPONENT_LEAD-
When
getAssigneeType()isComponentDto.AssigneeType.COMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. ComponentDto.AssigneeType.UNASSIGNED-
When
getAssigneeType()isComponentDto.AssigneeType.UNASSIGNEDand Jira is configured to allow unassigned issues. ComponentDto.AssigneeType.PROJECT_DEFAULT- When none of the preceding cases are true.
-
getRealAssignee
The user assigned to issues created with this component, whengetAssigneeType()does not identify a valid assignee. -
getIsAssigneeTypeValid
Whether a user is associated withgetAssigneeType(). For example, if the type is set toComponentDto.AssigneeType.COMPONENT_LEAD, but the component lead is not set, then false is returned. -
getProject
The key of the project the component is assigned to. Required when creating a component. Can't be updated. -
getProjectId
The ID of the project the component is assigned to. -
setSelf
The URL of the component. -
setId
The unique identifier for the component. -
setName
The unique name for the component in the project. Required when creating a component. Optional when updating a component. The maximum length is 255 characters. -
setDescription
The description for the component. Optional when creating or updating a component. -
setLead
The user details for the component's lead user. -
setAssigneeType
The nominal user type used to determine the assignee for issues created with a component. SeegetRealAssigneeType()for details on how the type of the user, and hence the user, assigned to issues is determined. -
setAssignee
The details of the user associated with assigneeType, if any. SeegetRealAssignee()for details of the user assigned to issues created with this component. -
setRealAssigneeType
The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from thegetAssigneeType(). For example,getAssigneeType()is set toComponentDto.AssigneeType.COMPONENT_LEADbut no component lead is set.This property is set to one of the following values:
ComponentDto.AssigneeType.PROJECT_LEAD-
When
getAssigneeType()isComponentDto.AssigneeType.PROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. ComponentDto.AssigneeType.COMPONENT_LEAD-
When
getAssigneeType()isComponentDto.AssigneeType.COMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. ComponentDto.AssigneeType.UNASSIGNED-
When
getAssigneeType()isComponentDto.AssigneeType.UNASSIGNEDand Jira is configured to allow unassigned issues. ComponentDto.AssigneeType.PROJECT_DEFAULT- When none of the preceding cases are true.
-
setRealAssignee
The user assigned to issues created with this component, whengetAssigneeType()does not identify a valid assignee. -
setIsAssigneeTypeValid
Whether a user is associated withgetAssigneeType(). For example, if the type is set toComponentDto.AssigneeType.COMPONENT_LEAD, but the component lead is not set, then false is returned. -
setProject
The key of the project the component is assigned to. Required when creating a component. Can't be updated. -
setProjectId
The ID of the project the component is assigned to. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-