| java.lang.Object | |||
| ↳ | com.atlassian.jira.issue.fields.AbstractField | ||
| ↳ | com.atlassian.jira.issue.fields.NavigableFieldImpl | ||
| ↳ | com.atlassian.jira.issue.fields.AbstractProgressBarSystemField | ||
Known Direct Subclasses
|
Base class for Progress Bar system fields.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractProgressBarSystemField.TimeTrackingParameters | |||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.issue.fields.NavigableField
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.fields.NavigableFieldImpl
| |||||||||||
From class
com.atlassian.jira.issue.fields.AbstractField
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Calculates the progress as spent / (spent + remainingEstimate) if parameters are not null.
| |||||||||||
Returns lower level Information about the field.
| |||||||||||
Returns the id of the field to check for visibility.
| |||||||||||
Return a FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation
of the rendered data for easy display.
| |||||||||||
Return a description of the shape of this field when represented as JSON.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the display id which is used by the progress-bar.vm template to generate ids for HTML tags.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.fields.NavigableFieldImpl
| |||||||||||
From class
com.atlassian.jira.issue.fields.AbstractField
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.fields.Field
| |||||||||||
From interface
com.atlassian.jira.issue.fields.NavigableField
| |||||||||||
From interface
com.atlassian.jira.issue.fields.rest.RestAwareField
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Calculates the progress as spent / (spent + remainingEstimate) if parameters are not null. Returns 0 if spent was null, 100 if remainingEstimate was null, or null if both parameters were null or zeros.
Throws an IllegalArgumentException if a negative number is passed in.| spent | time spent |
|---|---|
| remainingEstimate | remaining estimate |
Returns lower level Information about the field. This information contains allowed values and/or the autocomplete url
| fieldTypeInfoContext | the FieldTypeInfoContext contains context information that is relevant to generate the FieldTypeInfo
|
|---|
Returns the id of the field to check for visibility. For example, with original estimate field need to ensure that the timetracking field is not hidden. With most fields, this is the same as their id.
Return a FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation of the rendered data for easy display.
| issue | to get field data from |
|---|---|
| renderedVersionRequested | whether the use requested the return of rendered/pretty data as well as raw data |
| fieldLayoutItem | field layout for this field. Will only be supplied if the field is also an ordereable field. |
Return a description of the shape of this field when represented as JSON.
Returns the display id which is used by the progress-bar.vm template to generate ids for HTML tags.