public class CmsCollectorData
extends java.lang.Object
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|excludeTimerange"
.
The {Count}
and excludeTimerange
values are optional.
Example:
"/my/folder/|xmlcontent|5|excludeTimerange"
.
CmsExtendedCollectorData
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
PARAM_EXCLUDETIMERANGE
The value of the optional parameter to exclude the time range.
|
限定符 | 构造器和说明 |
---|---|
protected |
CmsCollectorData()
Required constructor for subclasses.
|
|
CmsCollectorData(java.lang.String data)
Creates a new extended collector data set.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getCount()
Returns the count.
|
java.lang.String |
getFileName()
Returns the file name.
|
int |
getType()
Returns the type.
|
boolean |
isExcludeTimerange()
Returns the flag to exclude the time range in an offline project.
|
protected void |
setCount(int count)
Sets the count.
|
void |
setExcludeTimerange(boolean excludeTimerange)
Sets the flag to exclude the time range in an offline project.
|
void |
setFileName(java.lang.String fileName)
Sets the fileName.
|
void |
setType(int type)
Sets the type.
|
public static final java.lang.String PARAM_EXCLUDETIMERANGE
public CmsCollectorData(java.lang.String data)
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|excludeTimerange"
, for example:
"/my/folder/|xmlcontent|5|excludeTimerange"
.
data
- the data to parseprotected CmsCollectorData()
public int getCount()
public java.lang.String getFileName()
public int getType()
public boolean isExcludeTimerange()
public void setExcludeTimerange(boolean excludeTimerange)
excludeTimerange
- the flag to exclude the time range in an offline projectpublic void setFileName(java.lang.String fileName)
fileName
- the file name to setpublic void setType(int type)
type
- the type to setprotected void setCount(int count)
count
- the count