com.atlassian.jira.issue.changehistory
Class ChangeHistoryItem

java.lang.Object
  extended by com.atlassian.jira.issue.changehistory.ChangeHistoryItem
All Implemented Interfaces:
Comparable<ChangeHistoryItem>

@Immutable
public class ChangeHistoryItem
extends Object
implements Comparable<ChangeHistoryItem>

A simple holder for change items

Since:
v4.3

Nested Class Summary
static class ChangeHistoryItem.Builder
           
 
Constructor Summary
ChangeHistoryItem(Long id, Long projectId, Long issueId, String issueKey, String field, Timestamp created, String from, String to, String fromValue, String toValue, String user)
           
ChangeHistoryItem(Long id, Long projectId, Long issueId, String issueKey, String field, Timestamp created, Timestamp nextChange, String from, String to, String fromValue, String toValue, String user)
           
 
Method Summary
 int compareTo(ChangeHistoryItem other)
           
 Timestamp getCreated()
           
 Long getDuration()
           
 String getField()
           
 String getFrom()
           
 String getFromValue()
           
 Long getId()
           
 Long getIssueId()
           
 String getIssueKey()
           
 Timestamp getNextChangeCreated()
           
 Long getProjectId()
           
 String getTo()
           
 String getToValue()
           
 String getUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeHistoryItem

public ChangeHistoryItem(Long id,
                         Long projectId,
                         Long issueId,
                         String issueKey,
                         String field,
                         Timestamp created,
                         String from,
                         String to,
                         String fromValue,
                         String toValue,
                         String user)

ChangeHistoryItem

public ChangeHistoryItem(Long id,
                         Long projectId,
                         Long issueId,
                         String issueKey,
                         String field,
                         Timestamp created,
                         Timestamp nextChange,
                         String from,
                         String to,
                         String fromValue,
                         String toValue,
                         String user)
Method Detail

getId

public Long getId()

getUser

public String getUser()

getProjectId

public Long getProjectId()

getIssueId

public Long getIssueId()

getIssueKey

public String getIssueKey()

getCreated

public Timestamp getCreated()

getFrom

public String getFrom()

getTo

public String getTo()

getField

public String getField()

getFromValue

public String getFromValue()

getToValue

public String getToValue()

getNextChangeCreated

public Timestamp getNextChangeCreated()

getDuration

public Long getDuration()

compareTo

public int compareTo(ChangeHistoryItem other)
Specified by:
compareTo in interface Comparable<ChangeHistoryItem>


Copyright © 2002-2011 Atlassian. All Rights Reserved.