Package com.atlassian.jira.issue.fields
Class FieldContextGenerator
java.lang.Object
com.atlassian.jira.issue.fields.FieldContextGenerator
A utility that responsible for providing a SearchContext from a list of visible projects
and a custom field whose configuration limits it to certain project/issuetype pairs.
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateClauseContext(List<Project> projects, String fieldId) Creates theContextsthat represent the combinations of project and issue type for which the given field is visible.
-
Constructor Details
-
FieldContextGenerator
-
-
Method Details
-
generateClauseContext
Creates theContextsthat represent the combinations of project and issue type for which the given field is visible.- Parameters:
projects- some projects to get SchemeContexts for.fieldId- the field to use for visibility checking.- Returns:
- the set of SchemeContexts.
-