public class MockDeviceManagement extends DeviceManagementDecorator
| Constructor and Description |
|---|
MockDeviceManagement() |
addDeviceAlert, addDeviceCommandInvocation, addDeviceCommandResponse, addDeviceEventBatch, addDeviceGroupElements, addDeviceLocation, addDeviceMeasurements, addDeviceStateChange, addDeviceStreamData, createBatchCommandInvocation, createBatchOperation, createDevice, createDeviceAssignment, createDeviceCommand, createDeviceElementMapping, createDeviceGroup, createDeviceSpecification, createDeviceStream, createSite, createZone, deleteBatchOperation, deleteDevice, deleteDeviceAssignment, deleteDeviceCommand, deleteDeviceElementMapping, deleteDeviceGroup, deleteDeviceSpecification, deleteSite, deleteZone, endDeviceAssignment, getBatchOperation, getDelegate, getDeviceAssignmentHistory, getDeviceAssignmentsForAsset, getDeviceAssignmentsForSite, getDeviceEventById, getDeviceGroup, getDeviceStream, getDeviceStreamData, getTenant, getZone, listBatchElements, listBatchOperations, listDeviceAlerts, listDeviceAlertsForSite, listDeviceCommandInvocationResponses, listDeviceCommandInvocations, listDeviceCommandInvocationsForSite, listDeviceCommandResponses, listDeviceCommandResponsesForSite, listDeviceCommands, listDeviceEvents, listDeviceGroupElements, listDeviceGroups, listDeviceGroupsWithRole, listDeviceLocations, listDeviceLocations, listDeviceLocationsForSite, listDeviceMeasurements, listDeviceMeasurementsForSite, listDevices, listDeviceSpecifications, listDeviceStateChanges, listDeviceStateChangesForSite, listDeviceStreamData, listDeviceStreams, listSites, listZones, removeDeviceGroupElements, setDelegate, setTenant, updateBatchElement, updateBatchOperation, updateDevice, updateDeviceAssignmentMetadata, updateDeviceAssignmentState, updateDeviceAssignmentStatus, updateDeviceCommand, updateDeviceGroup, updateDeviceSpecification, updateSite, updateZonecanPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, lifecyclePause, lifecycleStart, lifecycleStop, logState, pause, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, lifecyclePause, lifecycleStart, lifecycleStop, logState, pause, start, stoppublic com.sitewhere.spi.device.ISite getSiteByToken(String token) throws com.sitewhere.spi.SiteWhereException
getSiteByToken in interface com.sitewhere.spi.device.IDeviceManagementgetSiteByToken in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.IDeviceSpecification getDeviceSpecificationByToken(String token) throws com.sitewhere.spi.SiteWhereException
getDeviceSpecificationByToken in interface com.sitewhere.spi.device.IDeviceManagementgetDeviceSpecificationByToken in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.IDevice getDeviceByHardwareId(String hardwareId) throws com.sitewhere.spi.SiteWhereException
getDeviceByHardwareId in interface com.sitewhere.spi.device.IDeviceManagementgetDeviceByHardwareId in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.IDeviceAssignment getDeviceAssignmentByToken(String token) throws com.sitewhere.spi.SiteWhereException
getDeviceAssignmentByToken in interface com.sitewhere.spi.device.IDeviceManagementgetDeviceAssignmentByToken in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.command.IDeviceCommand getDeviceCommandByToken(String token) throws com.sitewhere.spi.SiteWhereException
getDeviceCommandByToken in interface com.sitewhere.spi.device.IDeviceManagementgetDeviceCommandByToken in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.IDeviceAssignment getCurrentDeviceAssignment(com.sitewhere.spi.device.IDevice device) throws com.sitewhere.spi.SiteWhereException
getCurrentDeviceAssignment in interface com.sitewhere.spi.device.IDeviceManagementgetCurrentDeviceAssignment in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.IDevice getDeviceForAssignment(com.sitewhere.spi.device.IDeviceAssignment assignment) throws com.sitewhere.spi.SiteWhereException
getDeviceForAssignment in interface com.sitewhere.spi.device.IDeviceManagementgetDeviceForAssignment in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionpublic com.sitewhere.spi.device.ISite getSiteForAssignment(com.sitewhere.spi.device.IDeviceAssignment assignment) throws com.sitewhere.spi.SiteWhereException
getSiteForAssignment in interface com.sitewhere.spi.device.IDeviceManagementgetSiteForAssignment in class DeviceManagementDecoratorcom.sitewhere.spi.SiteWhereExceptionCopyright © 2016 SiteWhere, LLC.. All rights reserved.