com.atlassian.jira.gadgets.system.util
Class StatsMarkupFieldValueToDisplayTransformer
java.lang.Object
com.atlassian.jira.gadgets.system.util.StatsMarkupFieldValueToDisplayTransformer
- All Implemented Interfaces:
- FieldValueToDisplayTransformer<StatsMarkup>
public class StatsMarkupFieldValueToDisplayTransformer
- extends Object
- implements FieldValueToDisplayTransformer<StatsMarkup>
Util object for transformaing a field/value into a displayable format for the StatsGadget. This implementation
of FieldValueToDisplayTransformer returns a StatsMarkup object containing html markup and css classes specifically
for use with the StatsGadget
- Since:
- v4.1
Method Summary |
StatsMarkup |
transformFromAssignee(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromComponent(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromCustomField(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromFixFor(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromIrrelevant(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromIssueType(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromLabels(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromPriority(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromProject(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromReporter(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromResolution(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromStatus(String fieldType,
Object input,
String url)
|
StatsMarkup |
transformFromVersion(String fieldType,
Object input,
String url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsMarkupFieldValueToDisplayTransformer
public StatsMarkupFieldValueToDisplayTransformer(JiraAuthenticationContext authenticationContext,
ConstantsManager constantsManager,
CustomFieldManager customFieldManager,
VelocityRequestContextFactory contextFactory,
SoyTemplateRendererProvider soyTemplateRendererProvider)
transformFromIrrelevant
public StatsMarkup transformFromIrrelevant(String fieldType,
Object input,
String url)
- Specified by:
transformFromIrrelevant
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromProject
public StatsMarkup transformFromProject(String fieldType,
Object input,
String url)
- Specified by:
transformFromProject
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromAssignee
public StatsMarkup transformFromAssignee(String fieldType,
Object input,
String url)
- Specified by:
transformFromAssignee
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromReporter
public StatsMarkup transformFromReporter(String fieldType,
Object input,
String url)
- Specified by:
transformFromReporter
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromResolution
public StatsMarkup transformFromResolution(String fieldType,
Object input,
String url)
- Specified by:
transformFromResolution
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromPriority
public StatsMarkup transformFromPriority(String fieldType,
Object input,
String url)
- Specified by:
transformFromPriority
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromIssueType
public StatsMarkup transformFromIssueType(String fieldType,
Object input,
String url)
- Specified by:
transformFromIssueType
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromStatus
public StatsMarkup transformFromStatus(String fieldType,
Object input,
String url)
- Specified by:
transformFromStatus
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromComponent
public StatsMarkup transformFromComponent(String fieldType,
Object input,
String url)
- Specified by:
transformFromComponent
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromVersion
public StatsMarkup transformFromVersion(String fieldType,
Object input,
String url)
- Specified by:
transformFromVersion
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromFixFor
public StatsMarkup transformFromFixFor(String fieldType,
Object input,
String url)
- Specified by:
transformFromFixFor
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromLabels
public StatsMarkup transformFromLabels(String fieldType,
Object input,
String url)
- Specified by:
transformFromLabels
in interface FieldValueToDisplayTransformer<StatsMarkup>
transformFromCustomField
public StatsMarkup transformFromCustomField(String fieldType,
Object input,
String url)
- Specified by:
transformFromCustomField
in interface FieldValueToDisplayTransformer<StatsMarkup>
Copyright © 2002-2014 Atlassian. All Rights Reserved.