com.atlassian.jira.issue.changehistory.metadata
Interface HistoryMetadataMarshaller

All Known Implementing Classes:
JsonHistoryMetadataMarshaller

public interface HistoryMetadataMarshaller

Allows converting the HistoryMetadata object to and from the representation that's stored in the database

Since:
JIRA 6.3

Method Summary
 String marshall(HistoryMetadata historyMetadata)
           
 HistoryMetadata unmarshall(String input)
           
 

Method Detail

unmarshall

@Nullable
HistoryMetadata unmarshall(@Nonnull
                                    String input)
Parameters:
input - a String representation of HistoryMetadata created by this marshaller
Returns:
a HistoryMetadata object based on it's string representation, or null if the representation is invalid

marshall

String marshall(@Nonnull
                HistoryMetadata historyMetadata)
Parameters:
historyMetadata - a HistoryMetadata object to marshall
Returns:
a string representation of the HistoryMetadata object


Copyright © 2002-2014 Atlassian. All Rights Reserved.