@Beta public interface PiPipeconfMappingStore extends Store<PiPipeconfDeviceMappingEvent,PiPipeconfMappingStoreDelegate>
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdateBinding(DeviceId deviceId,
PiPipeconfId pipeconfId)
Stores or updates a binding between a device and the pipeconf deployed on it.
|
java.util.Set<DeviceId> |
getDevices(PiPipeconfId pipeconfId)
Retrieves the set of devices on which the given pipeconf is applied.
|
PiPipeconfId |
getPipeconfId(DeviceId deviceId)
Retrieves the id of the pipeconf deployed on a given device.
|
void |
removeBinding(DeviceId deviceId)
Removes device to pipeconf binding.
|
hasDelegate, setDelegate, unsetDelegate
PiPipeconfId getPipeconfId(DeviceId deviceId)
deviceId
- device identifierjava.util.Set<DeviceId> getDevices(PiPipeconfId pipeconfId)
pipeconfId
- pipeconf identifiervoid createOrUpdateBinding(DeviceId deviceId, PiPipeconfId pipeconfId)
deviceId
- deviceIdpipeconfId
- pipeconfIdvoid removeBinding(DeviceId deviceId)
deviceId
- deviceId