public class DocumentBuilder extends java.lang.Object implements IndexFields
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentBuilder.FoundItem |
ALL_FIELDS, analyzer, ATTACH_ALL_FIELDS, ATTACH_DESC, ATTACH_ID, ATTACH_NAME, REF_BY_TASK_FOR_TASK, REF_BY_TASK_FOR_USER, REF_BY_USER_FOR_TASK, REF_BY_USER_FOR_USER, SCM_INFO, SCM_LAST_COMMIT, SCM_LAST_LABEL, SCM_NAME, SCM_REV, SCM_TASK, TASK_DESC, TASK_ID, TASK_MSGS, TASK_NAME, UDFS, USER_COMPANY, USER_ID, USER_LOGIN, USER_NAME, VER| Constructor and Description |
|---|
DocumentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.document.Document |
buildAttachment(java.lang.String id,
java.lang.String attName,
java.lang.String attDescription) |
static java.lang.String |
buildLabelForLastIndex(java.lang.String SCMconnectionName) |
static org.apache.lucene.document.Document |
buildLastRev(java.lang.String SCMconnectionName,
java.lang.String lastCommit) |
static org.apache.lucene.document.Document |
buildSCM(CommitListItem<java.lang.String> cli,
java.util.List<java.lang.String> tasks,
java.lang.String SCMconnectionName) |
static org.apache.lucene.document.Document |
buildTask(TaskRelatedInfo tci) |
static org.apache.lucene.document.Document |
buildUser(UserRelatedInfo uci) |
public static org.apache.lucene.document.Document buildLastRev(java.lang.String SCMconnectionName,
java.lang.String lastCommit)
throws GranException
GranExceptionpublic static java.lang.String buildLabelForLastIndex(java.lang.String SCMconnectionName)
throws GranException
GranExceptionpublic static org.apache.lucene.document.Document buildSCM(CommitListItem<java.lang.String> cli, java.util.List<java.lang.String> tasks, java.lang.String SCMconnectionName) throws GranException
GranExceptionpublic static org.apache.lucene.document.Document buildAttachment(java.lang.String id,
java.lang.String attName,
java.lang.String attDescription)
throws GranException
GranExceptionpublic static org.apache.lucene.document.Document buildUser(UserRelatedInfo uci) throws GranException
GranExceptionpublic static org.apache.lucene.document.Document buildTask(TaskRelatedInfo tci) throws GranException
GranExceptionCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.