public static class

ChangeHistoryItem.Builder

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.changehistory.ChangeHistoryItem.Builder

Summary

Public Constructors
Builder()
Public Methods
ChangeHistoryItem build()
ChangeHistoryItem.Builder byUser(String userKey)
Note: This accepts the user's key, which since 6.0 is not necessarily the same as the username.
ChangeHistoryItem.Builder changedFrom(String from, String fromValue)
ChangeHistoryItem.Builder field(String field)
ChangeHistoryItem.Builder forIssue(Long issueId, String issueKey)
ChangeHistoryItem.Builder forIssue(long issueId, String issueKey)
This method is deprecated. since 5.1 - Use forIssue(Long, String)
ChangeHistoryItem.Builder fromChangeItem(ChangeHistoryItem changeItem)
ChangeHistoryItem.Builder fromChangeItemPreservingFromValues(ChangeHistoryItem changeItem)
ChangeHistoryItem.Builder fromChangeItemPreservingToValues(ChangeHistoryItem changeItem)
ChangeHistoryItem.Builder fromChangeItemWithoutPreservingChanges(ChangeHistoryItem changeItem)
ChangeHistoryItem.Builder inChangeGroup(long id)
This method is deprecated. since 5.1 - Use inChangeGroup(Long)
ChangeHistoryItem.Builder inChangeGroup(Long id)
ChangeHistoryItem.Builder inProject(long projectId)
This method is deprecated. since 5.1 - Use inProject(Long)
ChangeHistoryItem.Builder inProject(Long projectId)
ChangeHistoryItem.Builder nextChangeOn(Timestamp nextChangeCreated)
ChangeHistoryItem.Builder on(Timestamp created)
ChangeHistoryItem.Builder to(String to, String toValue)
ChangeHistoryItem.Builder withFroms(Map<StringString> froms)
ChangeHistoryItem.Builder withId(Long id)
ChangeHistoryItem.Builder withId(long id)
This method is deprecated. since 5.1 - Use withId(Long)
ChangeHistoryItem.Builder withTos(Map<StringString> tos)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Public Methods

public ChangeHistoryItem build ()

public ChangeHistoryItem.Builder byUser (String userKey)

Note: This accepts the user's key, which since 6.0 is not necessarily the same as the username.

public ChangeHistoryItem.Builder changedFrom (String from, String fromValue)

public ChangeHistoryItem.Builder field (String field)

public ChangeHistoryItem.Builder forIssue (Long issueId, String issueKey)

public ChangeHistoryItem.Builder forIssue (long issueId, String issueKey)

This method is deprecated.
since 5.1 - Use forIssue(Long, String)

public ChangeHistoryItem.Builder fromChangeItem (ChangeHistoryItem changeItem)

public ChangeHistoryItem.Builder fromChangeItemPreservingFromValues (ChangeHistoryItem changeItem)

public ChangeHistoryItem.Builder fromChangeItemPreservingToValues (ChangeHistoryItem changeItem)

public ChangeHistoryItem.Builder fromChangeItemWithoutPreservingChanges (ChangeHistoryItem changeItem)

public ChangeHistoryItem.Builder inChangeGroup (long id)

This method is deprecated.
since 5.1 - Use inChangeGroup(Long)

public ChangeHistoryItem.Builder inChangeGroup (Long id)

public ChangeHistoryItem.Builder inProject (long projectId)

This method is deprecated.
since 5.1 - Use inProject(Long)

public ChangeHistoryItem.Builder inProject (Long projectId)

public ChangeHistoryItem.Builder nextChangeOn (Timestamp nextChangeCreated)

public ChangeHistoryItem.Builder on (Timestamp created)

public ChangeHistoryItem.Builder to (String to, String toValue)

public ChangeHistoryItem.Builder withFroms (Map<StringString> froms)

public ChangeHistoryItem.Builder withId (Long id)

public ChangeHistoryItem.Builder withId (long id)

This method is deprecated.
since 5.1 - Use withId(Long)

public ChangeHistoryItem.Builder withTos (Map<StringString> tos)