public class MockAssetModuleManager extends AssetModuleManager
IAssetModuleManager that always returns the same asset.| Constructor and Description |
|---|
MockAssetModuleManager() |
| Modifier and Type | Method and Description |
|---|---|
com.sitewhere.spi.asset.IAsset |
getAssetById(String assetModuleId,
String id) |
assertAssetModule, getLogger, getModule, getModules, listModules, refreshDatastoreModules, refreshModules, search, setModules, start, startDatastoreModule, stopgetTenant, setTenant, startNestedComponentcanPause, findComponentsOfType, findComponentsOfType, getComponentId, getComponentName, getComponentType, getLifecycleComponents, getLifecycleError, getLifecycleStatus, lifecyclePause, lifecycleStart, lifecycleStop, logState, logState, pause, setLifecycleComponents, setLifecycleError, setLifecycleStatus, startNestedComponentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTenant, setTenantcanPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getLifecycleComponents, getLifecycleError, getLifecycleStatus, lifecyclePause, lifecycleStart, lifecycleStop, logState, pausepublic com.sitewhere.spi.asset.IAsset getAssetById(String assetModuleId, String id) throws com.sitewhere.spi.SiteWhereException
getAssetById in interface com.sitewhere.spi.asset.IAssetModuleManagergetAssetById in class AssetModuleManagercom.sitewhere.spi.SiteWhereExceptionCopyright © 2016 SiteWhere, LLC.. All rights reserved.