Package org.xwiki.doc.tasks
Class XWikiDocumentIndexingTask
- java.lang.Object
-
- org.xwiki.doc.tasks.XWikiDocumentIndexingTask
-
@Unstable public class XWikiDocumentIndexingTask extends Object
Hold the information about a queued task.- Since:
- 14.1RC1
- Version:
- $Id: fa3d554d4dcd5c980ff886a4edb617a643894bd0 $
-
-
Constructor Summary
Constructors Constructor Description XWikiDocumentIndexingTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetDocId()longgetId()Getter forid.StringgetInstanceId()DategetTimestamp()StringgetType()StringgetVersion()inthashCode()voidsetDocId(long docId)voidsetInstanceId(String instanceId)voidsetTimestamp(Date timestamp)voidsetType(String type)voidsetVersion(String version)StringtoString()
-
-
-
Method Detail
-
getId
@Unstable public long getId()
Getter forid.- Returns:
- the synthetic id of this deleted attachment. Uniquely identifies a link
- Since:
- 14.3RC1
-
getDocId
@Unstable public long getDocId()
- Returns:
- the document id
- Since:
- 14.3RC1
-
setDocId
@Unstable public void setDocId(long docId)
- Parameters:
docId- the id of the document to be processed- Since:
- 14.3RC1
-
getVersion
@Unstable public String getVersion()
- Returns:
- the version to of the document to be processed
- Since:
- 14.3RC1
-
setVersion
@Unstable public void setVersion(String version)
- Parameters:
version- the version of the document to be processed- Since:
- 14.3RC1
-
getType
@Unstable public String getType()
- Returns:
- the type of the task to do on the document
- Since:
- 14.3RC1
-
setType
@Unstable public void setType(String type)
- Parameters:
type- the type of the task to do on the document- Since:
- 14.3RC1
-
getInstanceId
@Unstable public String getInstanceId()
- Returns:
- the identifier of the instance that queued the task
- Since:
- 14.3RC1
-
setInstanceId
@Unstable public void setInstanceId(String instanceId)
- Parameters:
instanceId- the identifier of the instance that queued the task- Since:
- 14.3RC1
-
getTimestamp
public Date getTimestamp()
- Returns:
- the timestamp of the insertion of the task in the queue
-
setTimestamp
public void setTimestamp(Date timestamp)
- Parameters:
timestamp- the timestamp of the insertion of the task in the queue
-
-