Class HistoryMetadata
java.lang.Object
com.atlassian.jira.issue.changehistory.metadata.HistoryMetadata
Represents the complete set of metadata for a history changegroup.
- Since:
- JIRA 6.3
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method is implemented for usage in Unit Tests.Textual description of the change for the activity streami18n key for the description of the change for the activity stream, will be used before activityDescription if presentgetActor()
The person or agent that triggered the history changegetCause()
The event or state that triggered the history changeTextual description of the changei18n key for the textual description of the change, will be used before description if presentTextual description of the change for notification emailsi18n key for the textual description of the change for the notification email, will be used before emailDescription if presentAdditional metadata related to the history changeThe system that triggered the history changegetType()
A unique id to identify the plugin/system that generated this metadataint
hashCode()
This method is implemented for usage in Unit Tests.
-
Method Details
-
getActor
The person or agent that triggered the history change -
getGenerator
The system that triggered the history change -
getCause
The event or state that triggered the history change -
getType
A unique id to identify the plugin/system that generated this metadata -
getDescription
Textual description of the change -
getDescriptionKey
i18n key for the textual description of the change, will be used before description if present -
getActivityDescription
Textual description of the change for the activity stream -
getActivityDescriptionKey
i18n key for the description of the change for the activity stream, will be used before activityDescription if present -
getEmailDescription
Textual description of the change for notification emails -
getEmailDescriptionKey
i18n key for the textual description of the change for the notification email, will be used before emailDescription if present -
getExtraData
Additional metadata related to the history change -
hashCode
public int hashCode()This method is implemented for usage in Unit Tests. -
equals
This method is implemented for usage in Unit Tests. -
builder
- Parameters:
type
- the type of the metadata object being created- Returns:
- a builder for a HistoryMetadata object
-