Package com.symphony.api.model
Class V3DLPTextMatchConfig
- java.lang.Object
-
- com.symphony.api.model.V3DLPTextMatchConfig
-
public class V3DLPTextMatchConfig extends Object
This is a configuration that can be used to match text or regex. Configuration that can be used by a rule. This is a configuration that can be used to match text or regex. This configuration also corresponds to V2 TextMatch/RegexMatch of dictionaries.
-
-
Constructor Summary
Constructors Constructor Description V3DLPTextMatchConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V3DLPTextMatchConfig
addApplicableFileTypesItem(String applicableFileTypesItem)
V3DLPTextMatchConfig
addDictionariesItem(V3DLPDictionaryMeta dictionariesItem)
V3DLPTextMatchConfig
applicableFileTypes(List<String> applicableFileTypes)
V3DLPTextMatchConfig
countUniqueOccurrences(Integer countUniqueOccurrences)
V3DLPTextMatchConfig
dictionaries(List<V3DLPDictionaryMeta> dictionaries)
List<String>
getApplicableFileTypes()
File types must be applied only for rule type \"FileContent\", otherwise must be empty.Integer
getCountUniqueOccurrences()
Get countUniqueOccurrencesList<V3DLPDictionaryMeta>
getDictionaries()
Get dictionariesvoid
setApplicableFileTypes(List<String> applicableFileTypes)
void
setCountUniqueOccurrences(Integer countUniqueOccurrences)
void
setDictionaries(List<V3DLPDictionaryMeta> dictionaries)
String
toString()
-
-
-
Method Detail
-
getDictionaries
public List<V3DLPDictionaryMeta> getDictionaries()
Get dictionaries- Returns:
- dictionaries
-
setDictionaries
public void setDictionaries(List<V3DLPDictionaryMeta> dictionaries)
-
dictionaries
public V3DLPTextMatchConfig dictionaries(List<V3DLPDictionaryMeta> dictionaries)
-
addDictionariesItem
public V3DLPTextMatchConfig addDictionariesItem(V3DLPDictionaryMeta dictionariesItem)
-
getCountUniqueOccurrences
public Integer getCountUniqueOccurrences()
Get countUniqueOccurrences- Returns:
- countUniqueOccurrences
-
setCountUniqueOccurrences
public void setCountUniqueOccurrences(Integer countUniqueOccurrences)
-
countUniqueOccurrences
public V3DLPTextMatchConfig countUniqueOccurrences(Integer countUniqueOccurrences)
-
getApplicableFileTypes
public List<String> getApplicableFileTypes()
File types must be applied only for rule type \"FileContent\", otherwise must be empty. Can be [\"PDF\", \"WORD\", \"EXCEL\", \"POWERPOINT\", \"ZIP\", \"CSV\", \"TXT\"].- Returns:
- applicableFileTypes
-
applicableFileTypes
public V3DLPTextMatchConfig applicableFileTypes(List<String> applicableFileTypes)
-
addApplicableFileTypesItem
public V3DLPTextMatchConfig addApplicableFileTypesItem(String applicableFileTypesItem)
-
-