public class Command extends Action implements java.io.Serializable
DeviceCommand in
DeviceModel| Constructor and Description |
|---|
Command(java.lang.String path,
java.lang.String command,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
rx.Observable<java.lang.Void> |
send(java.lang.String deviceId) |
java.lang.String |
toString() |
getName, getPath, getTs, getValue, throwIfNull, throwNotValidated, validatepublic Command(java.lang.String path,
java.lang.String command,
java.lang.Object value)
path - identifies the component to which the name should be sent DeviceCommand.getPath()command - defined in device io.relayr.java.model DeviceCommand.getName()value - type of value object is defined in device io.relayr.java.model with DeviceConfiguration.getValueSchema()