@Deprecated public interface ReporterConfig extends Config
Modifier and Type | Interface and Description |
---|---|
static class |
ReporterConfig.Type
Deprecated.
Indicates the Reporter Type.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
Returns the StatisticsReporter name.
|
List<PropertyConfig> |
getProperties()
Deprecated.
Gets list of reporter properties.
|
PropertyConfig |
getProperty(String name)
Deprecated.
Get a named property.
|
ReporterConfig.Type |
getType()
Deprecated.
Gets the reporter's type.
|
boolean |
isEnabled()
Deprecated.
If the StatisticsReporter is enabled.
|
void |
setEnabled(boolean enabled)
Deprecated.
Set enabled.
|
void |
setName(String name)
Deprecated.
Sets the StatisticsReporter name.
|
PropertyConfig |
setProperty(String name,
String value)
Deprecated.
Set a named property value.
|
PropertyConfig |
setProperty(String name,
String type,
String value)
Deprecated.
Set a name property value, with a valid property type.
|
void |
setType(ReporterConfig.Type type)
Deprecated.
Sets the reporter's type.
|
void setName(String name)
name
- the reporter nameString getName()
void setType(ReporterConfig.Type type) throws ConfigException
type
- typeConfigException
- if unable to set propertyReporterConfig.Type getType()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- true to enable, false to disableList<PropertyConfig> getProperties()
PropertyConfig getProperty(String name)
name
- property namePropertyConfig setProperty(String name, String value) throws ConfigException
name
- the property namevalue
- the property valueConfigException
- if unable to add propertyPropertyConfig setProperty(String name, String type, String value) throws ConfigException
name
- the property nametype
- the property typevalue
- the property valueConfigException
- if unable to add propertyCopyright © 2020 Push Technology Ltd. All Rights Reserved.