public static class GroupSelection.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GroupSelection |
build()
Builds a
Selection object composed of the given grouping parameters. |
GroupSelection.Builder |
directoryPath(String directoryPath)
Sets the path of the directory whose devices will be included in the selection.
|
GroupSelection.Builder |
filteringScript(String filteringScript)
Sets a custom Groovy filtering script which is used to narrow down the devices belonging to the selection.
|
GroupSelection.Builder |
gatewaysOnly(boolean gatewaysOnly)
Sets a flag indicating whether only gateways will be included in the selection.
|
GroupSelection.Builder |
recursive(boolean recursive)
Sets a flag indicating whether devices from the entire subtree (
true ) or only direct members (false )
of the given directory will be included in the selection. |
GroupSelection.Builder |
rqlQuery(String rqlQuery)
Sets an RQL filter query which is used to narrow down the devices belonging to the selection.
|
GroupSelection.Builder |
tags(List<String> tags)
Sets a list of tag names to further narrow down the selection - only devices belonging to the given directory
and tagged with the given tags will be included in the selection.
|
public GroupSelection.Builder directoryPath(String directoryPath)
directoryPath
- directory pathpublic GroupSelection.Builder recursive(boolean recursive)
true
) or only direct members (false
)
of the given directory will be included in the selection.recursive
- if recursivepublic GroupSelection.Builder gatewaysOnly(boolean gatewaysOnly)
gatewaysOnly
- if gateways onlypublic GroupSelection.Builder tags(List<String> tags)
tags
- tagspublic GroupSelection.Builder rqlQuery(String rqlQuery)
rqlQuery
- RQL querypublic GroupSelection.Builder filteringScript(String filteringScript)
filteringScript
- filtering scriptpublic GroupSelection build()
Selection
object composed of the given grouping parameters.Copyright © 2022 Bosch.IO GmbH. All rights reserved.