Class AssigneeTypeService
java.lang.Object
com.atlassian.greenhopper.service.project.AssigneeTypeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidType
(Long assigneeType) Determines if the given assignee type is valid in the running instance.
-
Constructor Details
-
AssigneeTypeService
public AssigneeTypeService()
-
-
Method Details
-
isValidType
Determines if the given assignee type is valid in the running instance. If the 'unassigned issues' system-wide feature is disabled, then an assignee of 'Unassigned' is considered invalid. Also passing a 'null' assignee will be considered invalid.The Long value for each AssigneeType is obtained from
AssigneeTypes
- Parameters:
assigneeType
- the AssigneeTypes id to check- Returns:
- if the AssigneeType is valid and not null
-