public class JmxDataSourceVO extends DataSourceVO<JmxDataSourceVO>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private static ExportCodes |
EVENT_CODES |
private boolean |
quantize |
private java.lang.String |
remoteServerAddr |
private static long |
serialVersionUID |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private boolean |
useLocalServer |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
JmxDataSourceVO() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEventTypes(java.util.List<EventTypeVO> ets) |
protected void |
addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list) |
protected void |
addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
JmxDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
JmxPointLocatorVO |
createPointLocator() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
ExportCodes |
getEventCodes() |
java.lang.String |
getRemoteServerAddr() |
DataSourceVO.Type |
getType() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
boolean |
isQuantize() |
boolean |
isUseLocalServer() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setQuantize(boolean quantize) |
void |
setRemoteServerAddr(java.lang.String remoteServerAddr) |
void |
setUpdatePeriods(int updatePeriods) |
void |
setUpdatePeriodType(int updatePeriodType) |
void |
setUseLocalServer(boolean useLocalServer) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addProperties, addPropertyChanges, copy, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getEventType, getEventTypes, getId, getMessage, getName, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXidpublic static final DataSourceVO.Type TYPE
private static final ExportCodes EVENT_CODES
private boolean useLocalServer
private java.lang.String remoteServerAddr
private int updatePeriodType
private int updatePeriods
private boolean quantize
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<JmxDataSourceVO>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<JmxDataSourceVO>public DataSourceVO.Type getType()
getType in class DataSourceVO<JmxDataSourceVO>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<JmxDataSourceVO>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<JmxDataSourceVO>public JmxPointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<JmxDataSourceVO>public boolean isUseLocalServer()
public void setUseLocalServer(boolean useLocalServer)
public java.lang.String getRemoteServerAddr()
public void setRemoteServerAddr(java.lang.String remoteServerAddr)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public boolean isQuantize()
public void setQuantize(boolean quantize)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<JmxDataSourceVO>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<JmxDataSourceVO>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
JmxDataSourceVO from)
addPropertyChangesImpl in class DataSourceVO<JmxDataSourceVO>private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class DataSourceVO<JmxDataSourceVO>com.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class DataSourceVO<JmxDataSourceVO>