org.kohsuke.jnt
Class JNIssue.Item<T extends JNIssue.Item>

java.lang.Object
  extended by org.kohsuke.jnt.JNIssue.Item<T>
All Implemented Interfaces:
Comparable<JNIssue.Item<T>>
Direct Known Subclasses:
JNIssue.Activity, JNIssue.Description
Enclosing class:
JNIssue

public abstract class JNIssue.Item<T extends JNIssue.Item>
extends Object
implements Comparable<JNIssue.Item<T>>


Constructor Summary
JNIssue.Item()
           
 
Method Summary
 int compareTo(JNIssue.Item<T> that)
          Compare its timestamps, in ascending order.
 long getAge()
          (date of this event)-(date of the original issue report) in milliseconds.
abstract  JNUser getAuthor()
          Gets the user who created this item.
 T getNext()
           
 JNIssue getParent()
           
 T getPrev()
           
abstract  Calendar getTimestamp()
          Gets the timestamp when this item was created.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNIssue.Item

public JNIssue.Item()
Method Detail

getPrev

public T getPrev()

getNext

public T getNext()

getParent

public JNIssue getParent()

getAuthor

public abstract JNUser getAuthor()
Gets the user who created this item.


getTimestamp

public abstract Calendar getTimestamp()
Gets the timestamp when this item was created.


getAge

public long getAge()
(date of this event)-(date of the original issue report) in milliseconds.


compareTo

public int compareTo(JNIssue.Item<T> that)
Compare its timestamps, in ascending order.

Specified by:
compareTo in interface Comparable<JNIssue.Item<T extends JNIssue.Item>>


Copyright © 2003-2008 Kohsuke Kawaguchi. All Rights Reserved.