Class FieldPredicates
java.lang.Object
com.atlassian.jira.issue.fields.util.FieldPredicates
Some predicates that can be used to classify JIRA
Field objects.- Since:
- v4.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a predicate that will return true if the input field is a date custom field.Return a predicate that will return true if the input field is a custom field.Return a predicate that will return true if the input field is a user custom field.Return a predicate that will return true if the input field is a date field.Return a predicate that returns true for custom fields that should be displayed in the custom field section of the view issue screen.Return a predicate that will return true if the input field is a user field.
-
Constructor Details
-
FieldPredicates
public FieldPredicates()
-
-
Method Details
-
isCustomField
Return a predicate that will return true if the input field is a custom field.- Returns:
- a predicate that will return true if the input field is a custom field.
-
isDateField
Return a predicate that will return true if the input field is a date field.- Returns:
- a predicate that will return true if the input field is a date field.
-
isUserField
Return a predicate that will return true if the input field is a user field.- Returns:
- a predicate that will return true if the input field is a user field.
-
isCustomUserField
Return a predicate that will return true if the input field is a user custom field.- Returns:
- a predicate that will return true if the input field is a user custom field.
-
isCustomDateField
Return a predicate that will return true if the input field is a date custom field.- Returns:
- a predicate that will return true if the input field is a date custom field.
-
isStandardViewIssueCustomField
Return a predicate that returns true for custom fields that should be displayed in the custom field section of the view issue screen. Some of the custom fields are not displayed in the custom field section of the view issue screen. For example, the date fields are now displayed in the date block rather than the custom field block.- Returns:
- a predicate that returns true for custom fields that should be displayed in the custom field section of the view issue screen.
-