public class DefaultBugAssociatorPrefs extends Object implements BugAssociatorPrefs
MULTIPLE, RECENT, SEARCH, SINGLE
Constructor and Description |
---|
DefaultBugAssociatorPrefs() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultMode(Issue issue)
What to show initially.
|
int |
getDefaultSearchMode(Issue issue)
Whether users can select just one or multiple issues.
|
long |
getDefaultSearchRequestId(Issue issue)
Get the search request to run initially, if the
BugAssociatorPrefs.SEARCH mode is used. |
public int getDefaultMode(Issue issue)
BugAssociatorPrefs
getDefaultMode
in interface BugAssociatorPrefs
BugAssociatorPrefs.RECENT
-- show recently viewed issues.
BugAssociatorPrefs.SEARCH
- show a predefined search request's issues (see BugAssociatorPrefs.getDefaultSearchRequestId(com.atlassian.jira.issue.Issue)
public int getDefaultSearchMode(Issue issue)
BugAssociatorPrefs
getDefaultSearchMode
in interface BugAssociatorPrefs
BugAssociatorPrefs.SINGLE
- select just one issue or BugAssociatorPrefs.MULTIPLE
select multiple issues (checkboxes).public long getDefaultSearchRequestId(Issue issue)
BugAssociatorPrefs
BugAssociatorPrefs.SEARCH
mode is used.getDefaultSearchRequestId
in interface BugAssociatorPrefs
Copyright © 2002-2019 Atlassian. All Rights Reserved.