T
- could be Task
or Rule
depending on the usage, see MassManagementEngine.listRules(ListOptions)
,
MassManagementEngine.listTasks(ListOptions)
, Rule.listLaunchedTasks(String)
,
Rule.listLaunchedTasksForDevice(String, String)
etc.public interface FilteredSet<T>
Modifier and Type | Method and Description |
---|---|
String |
getFilter()
Returns the filter with which this
FilteredSet is created. |
CompletionStage<List<T>> |
list()
Retrieves all elements that satisfy the filtering criteria
with which this
FilteredSet is created. |
com.bosch.iot.dm.util.PageIterator<T> |
list(int pageSize)
Retrieves all elements that satisfy the filtering criteria
with which this
FilteredSet is created. |
boolean |
match(T element)
Tests if given element satisfies the filtering criteria of this
FilteredSet . |
CompletionStage<List<T>> list()
FilteredSet
is created.
See MassManagementEngine.listRules(String)
com.bosch.iot.dm.util.PageIterator<T> list(int pageSize)
FilteredSet
is created.
See MassManagementEngine.listRules(ListOptions)
pageSize
- the number of elements returned within a page.boolean match(T element)
FilteredSet
.element
- an element to be matched.true
if the given element satisfies
the filtering criteria of this FilteredSet
, false
otherwise.IllegalArgumentException
- if the supplied parameter is not instance of expected Task
or Rule
class.String getFilter()
FilteredSet
is created. See MassManagementEngine.listRules(ListOptions)
.Copyright © 2022 Bosch.IO GmbH. All rights reserved.