public class IdolCommitterConfig extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_URL |
Constructor and Description |
---|
IdolCommitterConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getDatabaseName()
Gets IDOL database name.
|
Map<String,String> |
getDreAddDataParams()
Gets the
DREADDDATA optional URL parameters. |
Map<String,String> |
getDreDeleteRefParams()
Gets the
DREDELETEREF optional URL parameters. |
String |
getSourceContentField()
Gets the document field name containing the value to be stored
in IDOL
DRECONTENT field. |
String |
getSourceReferenceField()
Gets the document field name containing the value to be stored
in IDOL
DREREFERENCE field. |
String |
getUrl()
Gets the IDOL index URL (default is
http://localhost:9001 ). |
int |
hashCode() |
boolean |
isCfs()
Gets whether the IDOL index URL points to a Connector Framework Server
(CFS).
|
void |
setCfs(boolean cfs)
Sets whether the IDOL index URL points to a Connector Framework Server
(CFS).
|
void |
setDatabaseName(String databaseName)
Sets IDOL database name.
|
void |
setSourceContentField(String sourceContentField)
Sets the document field name containing the value to be stored
in IDOL
DRECONTENT field. |
void |
setSourceReferenceField(String sourceReferenceField)
Sets the document field name containing the value to be stored
in IDOL
DREREFERENCE field. |
void |
setUrl(String url)
Sets the IDOL index URL (default is
http://localhost:9001 ). |
String |
toString() |
public static final String DEFAULT_URL
public String getUrl()
http://localhost:9001
).public void setUrl(String url)
http://localhost:9001
).url
- the IDOL URLpublic boolean isCfs()
true
if committing to a CFS serverpublic void setCfs(boolean cfs)
cfs
- true
if committing to a CFS serverpublic String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName
- IDOL database namepublic Map<String,String> getDreAddDataParams()
DREADDDATA
optional URL parameters.public Map<String,String> getDreDeleteRefParams()
DREDELETEREF
optional URL parameters.public String getSourceReferenceField()
DREREFERENCE
field. Default is not a field,
but rather the document reference.public void setSourceReferenceField(String sourceReferenceField)
DREREFERENCE
field. Set to null
in order to use the document reference instead of a field (default).sourceReferenceField
- name of field containing reference value,
or null
public String getSourceContentField()
DRECONTENT
field. Default is not a field, but
rather the document content stream.public void setSourceContentField(String sourceContentField)
DRECONTENT
field. Set to null
in
order to use the document content stream instead of a field (default).sourceContentField
- name of field containing content value,
or null
Copyright © 2013–2022 Norconex Inc.. All rights reserved.