com.atlassian.jira.issue.changehistory.metadata
Class JsonHistoryMetadataMarshaller
java.lang.Object
com.atlassian.jira.issue.changehistory.metadata.JsonHistoryMetadataMarshaller
- All Implemented Interfaces:
- HistoryMetadataMarshaller
public class JsonHistoryMetadataMarshaller
- extends Object
- implements HistoryMetadataMarshaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonHistoryMetadataMarshaller
public JsonHistoryMetadataMarshaller()
unmarshall
@Nullable
public HistoryMetadata unmarshall(@Nonnull
String input)
- Specified by:
unmarshall
in interface HistoryMetadataMarshaller
- 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
public String marshall(@Nonnull
HistoryMetadata historyMetadata)
- Specified by:
marshall
in interface HistoryMetadataMarshaller
- Parameters:
historyMetadata
- a HistoryMetadata object to marshall
- Returns:
- a string representation of the HistoryMetadata object
Copyright © 2002-2014 Atlassian. All Rights Reserved.