public class IndexQueueEntry extends Object implements Cloneable
The currently supported tasks are: a) add b) delete
This entry element contains enough information to uniquely identify the searchable object that it works on.
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,
String handle) |
IndexQueueEntry(int type,
String handle,
Date creationDate) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object o) |
Date |
getCreationDate()
The date at which this index entry was created.
|
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.
|
String |
getTypeAsString() |
int |
hashCode() |
void |
setCreationDate(Date creationDate) |
void |
setHandle(String handle) |
void |
setId(long id) |
void |
setType(int type) |
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, String handle)
public long getId()
public void setId(long id)
public int getType()
public void setType(int type)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public String getHandle()
public void setHandle(String handle)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getTypeAsString()
Copyright © 2003–2016 Atlassian. All rights reserved.