public class IndexQueueEntry
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD |
static int |
DELETE |
static int |
UPDATE |
| Constructor and Description |
|---|
IndexQueueEntry() |
IndexQueueEntry(int type) |
IndexQueueEntry(int type,
java.lang.String handle) |
IndexQueueEntry(int type,
java.lang.String handle,
java.util.Date creationDate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
java.util.Date |
getCreationDate()
The date at which this index entry was created.
|
java.lang.String |
getHandle()
A readable description of the object represented by this index queue entry.
|
long |
getId()
The unique id of this index queue entry in the database.
|
int |
getType()
The type of indexing action represented by this index queue entry.
|
java.lang.String |
getTypeAsString() |
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate) |
void |
setHandle(java.lang.String handle) |
void |
setId(long id) |
void |
setType(int type) |
java.lang.String |
toString()
A simple tostring implementation that returns the data contained by this queue entry.
|
public static final int ADD
public static final int DELETE
public static final int UPDATE
public IndexQueueEntry()
public IndexQueueEntry(int type)
public IndexQueueEntry(int type,
java.lang.String handle)
public IndexQueueEntry(int type,
java.lang.String handle,
java.util.Date creationDate)
public long getId()
public void setId(long id)
public int getType()
public void setType(int type)
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationDate)
public java.lang.String getHandle()
public void setHandle(java.lang.String handle)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getTypeAsString()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 Atlassian. All Rights Reserved.