public class SensorResource extends AbstractBrooklynRestResource implements SensorApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
SensorResource() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
batchSensorRead(java.lang.String application,
java.lang.String entityToken,
java.lang.Boolean raw) |
void |
delete(java.lang.String application,
java.lang.String entityToken,
java.lang.String sensorName) |
java.lang.Object |
get(java.lang.String application,
java.lang.String entityToken,
java.lang.String sensorName,
java.lang.Boolean raw) |
java.lang.String |
getPlain(java.lang.String application,
java.lang.String entityToken,
java.lang.String sensorName,
java.lang.Boolean raw) |
java.util.List<SensorSummary> |
list(java.lang.String application,
java.lang.String entityToken) |
void |
set(java.lang.String application,
java.lang.String entityToken,
java.lang.String sensorName,
java.lang.Object newValue) |
void |
setFromMap(java.lang.String application,
java.lang.String entityToken,
java.util.Map newValues) |
brooklyn, injectManagementContext, mgmt
public java.util.List<SensorSummary> list(java.lang.String application, java.lang.String entityToken)
public java.util.Map<java.lang.String,java.lang.Object> batchSensorRead(java.lang.String application, java.lang.String entityToken, java.lang.Boolean raw)
batchSensorRead
in interface SensorApi
public java.lang.String getPlain(java.lang.String application, java.lang.String entityToken, java.lang.String sensorName, java.lang.Boolean raw)
public java.lang.Object get(java.lang.String application, java.lang.String entityToken, java.lang.String sensorName, java.lang.Boolean raw)
public void setFromMap(java.lang.String application, java.lang.String entityToken, java.util.Map newValues)
setFromMap
in interface SensorApi
public void set(java.lang.String application, java.lang.String entityToken, java.lang.String sensorName, java.lang.Object newValue)