public class DeviceInvocationSummaryBuilder extends Object
DeviceCommandInvocationSummary.| Constructor and Description |
|---|
DeviceInvocationSummaryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static com.sitewhere.rest.model.device.event.view.DeviceCommandInvocationSummary |
build(com.sitewhere.rest.model.device.event.DeviceCommandInvocation invocation,
List<com.sitewhere.spi.device.event.IDeviceCommandResponse> responses,
com.sitewhere.spi.user.ITenant tenant)
Creates a
DeviceCommandInvocationSummary using data from a
DeviceCommandInvocation that has its command information populated. |
static String |
getDeviceEventDescription(com.sitewhere.spi.device.event.IDeviceEvent event)
Get a short description of a device event.
|
public static com.sitewhere.rest.model.device.event.view.DeviceCommandInvocationSummary build(com.sitewhere.rest.model.device.event.DeviceCommandInvocation invocation, List<com.sitewhere.spi.device.event.IDeviceCommandResponse> responses, com.sitewhere.spi.user.ITenant tenant) throws com.sitewhere.spi.SiteWhereException
DeviceCommandInvocationSummary using data from a
DeviceCommandInvocation that has its command information populated.invocation - responses - tenant - com.sitewhere.spi.SiteWhereExceptionpublic static String getDeviceEventDescription(com.sitewhere.spi.device.event.IDeviceEvent event) throws com.sitewhere.spi.SiteWhereException
event - com.sitewhere.spi.SiteWhereExceptionCopyright © 2016 SiteWhere, LLC.. All rights reserved.