com.atlassian.jira.rest.api.customfield
Interface CustomFieldMarshaller<T,U>


public interface CustomFieldMarshaller<T,U>

Custom field implementations may override how their field value is marshalled by providing a CustomFieldMarshaller.

Since:
v4.2
See Also:
CustomFieldType

Method Summary
 U marshall(CustomField customField, T t)
          Returns a marshalled custom field instance.
 

Method Detail

marshall

U marshall(CustomField customField,
           T t)
Returns a marshalled custom field instance. The returned instance will be marshalled by JAXB.

Parameters:
customField - the custom field to marshall
t - the transport object
Returns:
a marshalled custom field instance
See Also:
CustomFieldType.getValueFromIssue(com.atlassian.jira.issue.fields.CustomField, com.atlassian.jira.issue.Issue)


Copyright © 2002-2012 Atlassian. All Rights Reserved.