public class

FieldScreenRenderLayoutItemFilterImpl

extends Object
implements FieldScreenRenderLayoutItemFilter
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.screen.tab.FieldScreenRenderLayoutItemFilterImpl

Class Overview

This class is providing filtering functionality for collections of FieldScreenLayoutItem. Each filtering logic is wrapped with safe(com.google.common.base.Predicate) to provide sufficient exception handling. Every FieldScreenLayoutItem throwing unhandled exceptions while evaluating Predicates will be filtered out from result collection. This class was added during (JDEV-27272 - Hardening customfield plugin points) as a protection against unhandled exception from CustomFieldType plugins.

Summary

Public Constructors
FieldScreenRenderLayoutItemFilterImpl(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager)
Public Methods
Collection<FieldScreenLayoutItem> filterAvailableFieldScreenLayoutItems(Predicate<? super Field> condition, List<FieldScreenLayoutItem> fieldLayoutItems)
Collection<FieldScreenLayoutItem> filterVisibleFieldScreenLayoutItems(Issue issue, Collection<FieldScreenLayoutItem> fieldLayoutItems)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.screen.tab.FieldScreenRenderLayoutItemFilter

Public Constructors

public FieldScreenRenderLayoutItemFilterImpl (FieldManager fieldManager, FieldLayoutManager fieldLayoutManager)

Public Methods

public Collection<FieldScreenLayoutItem> filterAvailableFieldScreenLayoutItems (Predicate<? super Field> condition, List<FieldScreenLayoutItem> fieldLayoutItems)

public Collection<FieldScreenLayoutItem> filterVisibleFieldScreenLayoutItems (Issue issue, Collection<FieldScreenLayoutItem> fieldLayoutItems)