@ExperimentalApi public final class HistoryMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HistoryMetadata.HistoryMetadataBuilder |
Modifier and Type | Method and Description |
---|---|
static HistoryMetadata.HistoryMetadataBuilder |
builder(String type) |
boolean |
equals(Object obj)
This method is implemented for usage in Unit Tests.
|
String |
getActivityDescription()
Textual description of the change for the activity stream
|
String |
getActivityDescriptionKey()
i18n key for the description of the change for the activity stream, will be used before activityDescription if present
|
HistoryMetadataParticipant |
getActor()
The person or agent that triggered the history change
|
HistoryMetadataParticipant |
getCause()
The event or state that triggered the history change
|
String |
getDescription()
Textual description of the change
|
String |
getDescriptionKey()
i18n key for the textual description of the change, will be used before description if present
|
String |
getEmailDescription()
Textual description of the change for notification emails
|
String |
getEmailDescriptionKey()
i18n key for the textual description of the change for the notification email, will be used before emailDescription if present
|
Map<String,String> |
getExtraData()
Additional metadata related to the history change
|
HistoryMetadataParticipant |
getGenerator()
The system that triggered the history change
|
String |
getType()
A unique id to identify the plugin/system that generated this metadata
|
int |
hashCode()
This method is implemented for usage in Unit Tests.
|
public HistoryMetadataParticipant getActor()
public HistoryMetadataParticipant getGenerator()
public HistoryMetadataParticipant getCause()
public String getType()
public String getDescription()
public String getDescriptionKey()
public String getActivityDescription()
public String getActivityDescriptionKey()
public String getEmailDescription()
public String getEmailDescriptionKey()
public Map<String,String> getExtraData()
public int hashCode()
public boolean equals(Object obj)
public static HistoryMetadata.HistoryMetadataBuilder builder(String type)
type
- the type of the metadata object being createdCopyright © 2002-2015 Atlassian. All Rights Reserved.