public class CmsExtendedCollectorData extends CmsCollectorData
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|excludeTimerange|{AddParam1}|{AddParam2}...", for example:
"/my/folder/|xmlcontent|5|excludeTimerange|p1|p2|p3|p4" or "/my/folder/|xmlcontent|5|p1|p2|p3|p4".
This extends the basic CmsCollectorData by allowing to append additional
parameters to the input String. The parameters can then be obtained by the collector
using getAdditionalParams(). It will depend on the collector implementation
how these additional parameters are used.
CmsCollectorDataPARAM_EXCLUDETIMERANGE| Modifier | Constructor and Description |
|---|---|
protected |
CmsExtendedCollectorData()
Required constructor for subclasses.
|
|
CmsExtendedCollectorData(java.lang.String data)
Creates a new extended collector data set.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAdditionalParams()
Returns the List of additional parameters (String objects).
|
protected void |
setAdditionalParams(java.util.List<java.lang.String> additionalParams)
Sets the List of additional parameters (String objects).
|
getCount, getFileName, getType, isExcludeTimerange, setCount, setExcludeTimerange, setFileName, setTypeprotected CmsExtendedCollectorData()
public CmsExtendedCollectorData(java.lang.String data)
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|{AddParam1}|{AddParam2}...", for example:
"/my/folder/|xmlcontent|5|excludeTimerange|p1|p2|p3|p4" or "/my/folder/|xmlcontent|5|p1|p2|p3|p4".
data - the data to parsepublic java.util.List<java.lang.String> getAdditionalParams()
protected void setAdditionalParams(java.util.List<java.lang.String> additionalParams)
additionalParams - the List of additional parameters (String objects) to set