|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.changehistory.metadata.HistoryMetadata
@ExperimentalApi public final class HistoryMetadata
Represents the complete set of metadata for a history changegroup.
Nested Class Summary | |
---|---|
static class |
HistoryMetadata.HistoryMetadataBuilder
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public static HistoryMetadata.HistoryMetadataBuilder builder(String type)
type
- the type of the metadata object being created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |