public class PachubeDataSourceVO extends DataSourceVO<PachubeDataSourceVO>
DataSourceVO.Type| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
apiKey |
private static ExportCodes |
EVENT_CODES |
private int |
retries |
private static long |
serialVersionUID |
private int |
timeoutSeconds |
static DataSourceVO.Type |
TYPE |
private int |
updatePeriods |
private int |
updatePeriodType |
private static int |
version |
XID_PREFIX| Constructor and Description |
|---|
PachubeDataSourceVO() |
| 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,
PachubeDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
PachubePointLocatorVO |
createPointLocator() |
java.lang.String |
getApiKey() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
ExportCodes |
getEventCodes() |
int |
getRetries() |
int |
getTimeoutSeconds() |
DataSourceVO.Type |
getType() |
int |
getUpdatePeriods() |
int |
getUpdatePeriodType() |
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 |
setApiKey(java.lang.String apiKey) |
void |
setRetries(int retries) |
void |
setTimeoutSeconds(int timeoutSeconds) |
void |
setUpdatePeriods(int updatePeriods) |
void |
setUpdatePeriodType(int updatePeriodType) |
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 java.lang.String apiKey
private int updatePeriodType
private int updatePeriods
private int timeoutSeconds
private int retries
private static final long serialVersionUID
private static final int version
protected void addEventTypes(java.util.List<EventTypeVO> ets)
addEventTypes in class DataSourceVO<PachubeDataSourceVO>public ExportCodes getEventCodes()
getEventCodes in class DataSourceVO<PachubeDataSourceVO>public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription in class DataSourceVO<PachubeDataSourceVO>public DataSourceVO.Type getType()
getType in class DataSourceVO<PachubeDataSourceVO>public DataSourceRT createDataSourceRT()
createDataSourceRT in class DataSourceVO<PachubeDataSourceVO>public PachubePointLocatorVO createPointLocator()
createPointLocator in class DataSourceVO<PachubeDataSourceVO>public java.lang.String getApiKey()
public void setApiKey(java.lang.String apiKey)
public int getUpdatePeriodType()
public void setUpdatePeriodType(int updatePeriodType)
public int getUpdatePeriods()
public void setUpdatePeriods(int updatePeriods)
public int getTimeoutSeconds()
public void setTimeoutSeconds(int timeoutSeconds)
public int getRetries()
public void setRetries(int retries)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class DataSourceVO<PachubeDataSourceVO>protected void addPropertiesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list)
addPropertiesImpl in class DataSourceVO<PachubeDataSourceVO>protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
PachubeDataSourceVO from)
addPropertyChangesImpl in class DataSourceVO<PachubeDataSourceVO>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<PachubeDataSourceVO>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<PachubeDataSourceVO>