public static class GroovySelection.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GroovySelection |
build()
Builds a
Selection object composed of the given Groovy scripts. |
GroovySelection.Builder |
filteringScript(String filteringScript)
Sets a custom Groovy filtering script which is used to narrow down the devices belonging to the selection.
|
GroovySelection.Builder |
listingScript(String listingScript)
Sets a custom Groovy listing script which must return a list of objects that are either
device id strings or
objects which have a
deviceId() methods
in order for the selection to be able correctly determine the target devices. |
public GroovySelection.Builder listingScript(String listingScript)
deviceId()
methodslistingScript
- listing scriptpublic GroovySelection.Builder filteringScript(String filteringScript)
filteringScript
- filtering scriptpublic GroovySelection build()
Selection
object composed of the given Groovy scripts.Copyright © 2022 Bosch.IO GmbH. All rights reserved.