public interface IAssignmentStateManager extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
void |
addAlert(java.lang.String token,
IDeviceAlert alert)
Add new alert state for an assignment.
|
void |
addLocation(java.lang.String token,
IDeviceLocation location)
Add new location state for an assignment.
|
void |
addMeasurements(java.lang.String token,
IDeviceMeasurements measurements)
Add new measurements state for an assignment.
|
void |
addStateChange(java.lang.String token,
IDeviceStateChange state)
Add new state change for an assignment.
|
getTenant, setTenant
canPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stop
void addLocation(java.lang.String token, IDeviceLocation location) throws SiteWhereException
token
- unique assignment tokenlocation
- assignment location informationSiteWhereException
- if error in implementationvoid addMeasurements(java.lang.String token, IDeviceMeasurements measurements) throws SiteWhereException
token
- unique assignment tmeasurementsokenmeasurements
- assignment location informationSiteWhereException
- if error in implementationvoid addAlert(java.lang.String token, IDeviceAlert alert) throws SiteWhereException
token
- unique assignment tokenalert
- assignment alert informationSiteWhereException
- if error in implementationvoid addStateChange(java.lang.String token, IDeviceStateChange state) throws SiteWhereException
token
- unique assignment tokenstate
- assignment state change informationSiteWhereException
- if error in implementation