com.atlassian.jira.issue.fields
Class WorkRatioSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.WorkRatioSystemField
- All Implemented Interfaces:
- Field, NavigableField, SearchableField, Comparable
public class WorkRatioSystemField
- extends NavigableFieldImpl
- implements SearchableField
WorkRatioSystemField
public WorkRatioSystemField(com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
WorkRatioSearchHandlerFactory handlerFactory)
getSorter
public LuceneFieldSorter getSorter()
- Description copied from interface:
NavigableField
- A sorter to be used when sorting columns in a table. This sort uses the Lucene Document Collection
and is therefore a lot faster than sorting the issues in memory.
- Specified by:
getSorter
in interface NavigableField
- Returns:
- A sorter that can be used to sort this field, or null depending on the value of
NavigableField.getSortComparatorSource()
- See Also:
DocumentIssueImpl
,
MappedSortComparator
getColumnViewHtml
public String getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
Map displayParams,
Issue issue)
- Specified by:
getColumnViewHtml
in interface NavigableField
getWorkRatio
public long getWorkRatio(Issue issue)
createAssociatedSearchHandler
public SearchHandler createAssociatedSearchHandler()
- Description copied from interface:
SearchableField
- Return
SearchHandler
for the field. This object tells JIRA how to search for values within the field.
- Specified by:
createAssociatedSearchHandler
in interface SearchableField
- Returns:
- the SearchHandler associated with the field. Can return
null
when no searcher
is associated with the field. This will mainly happen when a customfield is configured to have no
searcher.
Copyright © 2002-2009 Atlassian. All Rights Reserved.