public class DeviceFilter extends Object
DeviceService
Constructor and Description |
---|
DeviceFilter() |
Modifier and Type | Method and Description |
---|---|
StringCondition |
getDpid() |
StringCondition |
getId() |
EqualityCondition<Boolean> |
getOnline() |
boolean |
matches(Device device)
Returns whether the given device matches this filter or not.
|
void |
setDpid(DataPathId id) |
void |
setId(DeviceId id) |
void |
setId(String id) |
void |
setOnline(Boolean online) |
public void setId(DeviceId id)
public void setId(String id)
public StringCondition getId()
public void setDpid(DataPathId id)
public StringCondition getDpid()
public void setOnline(Boolean online)
public EqualityCondition<Boolean> getOnline()
public boolean matches(Device device)
device
- the given deviceCopyright © 2015. All Rights Reserved.