Package org.netxms.client.datacollection
Class DciTemplateConfig
java.lang.Object
org.netxms.client.datacollection.DciTemplateConfig
Configuration for DCI template matching.
Contains pattern fields and matching options.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionGet DCI description pattern.Get DCI name pattern.Get DCI tag pattern.booleanCheck if any template pattern is set.booleanCheck if multiple match is enabled.booleanCheck if regular expression matching is enabled.voidsetDciDescription(String dciDescription) Set DCI description pattern.voidsetDciName(String dciName) Set DCI name pattern.voidSet DCI tag pattern.voidsetMultiMatch(boolean multiMatch) Enable or disable multiple match.voidsetRegexMatch(boolean regexMatch) Enable or disable regular expression matching.toString()
-
Constructor Details
-
DciTemplateConfig
public DciTemplateConfig()Default constructor -
DciTemplateConfig
Copy constructor- Parameters:
src- source object to copy from
-
-
Method Details
-
getDciName
Get DCI name pattern.- Returns:
- the dciName
-
setDciName
Set DCI name pattern.- Parameters:
dciName- the dciName to set
-
getDciDescription
Get DCI description pattern.- Returns:
- the dciDescription
-
setDciDescription
Set DCI description pattern.- Parameters:
dciDescription- the dciDescription to set
-
getDciTag
Get DCI tag pattern.- Returns:
- the dciTag
-
setDciTag
Set DCI tag pattern.- Parameters:
dciTag- the dciTag to set
-
isRegexMatch
public boolean isRegexMatch()Check if regular expression matching is enabled.- Returns:
- true if regular expression matching is enabled
-
setRegexMatch
public void setRegexMatch(boolean regexMatch) Enable or disable regular expression matching.- Parameters:
regexMatch- true to enable regular expression matching
-
isMultiMatch
public boolean isMultiMatch()Check if multiple match is enabled.- Returns:
- true if multiple match is enabled
-
setMultiMatch
public void setMultiMatch(boolean multiMatch) Enable or disable multiple match.- Parameters:
multiMatch- true to enable multiple match
-
hasPattern
public boolean hasPattern()Check if any template pattern is set.- Returns:
- true if any pattern is set
-
toString
-