|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.FieldContextGenerator
public class 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.
Constructor Summary | |
---|---|
FieldContextGenerator(FieldVisibilityManager fieldVisibilityManager)
|
Method Summary | |
---|---|
ClauseContext |
generateClauseContext(java.util.List<Project> projects,
java.lang.String fieldId)
Creates the Contexts that
represent the combinations of project and issue type for which the given field is visible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldContextGenerator(FieldVisibilityManager fieldVisibilityManager)
Method Detail |
---|
public ClauseContext generateClauseContext(java.util.List<Project> projects, java.lang.String fieldId)
Contexts
that
represent the combinations of project and issue type for which the given field is visible.
projects
- some projects to get SchemeContexts for.fieldId
- the field to use for visibility checking.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |