Skip navigation links
A B C D E F G H I M P R S T U V W 

A

addQueryParam(String, String) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Add a query parameter to the request.
asyncSleep(long, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
Pauses the execution for a specified portion of time.
Attribute<T> - Class in com.bosch.iot.dm.groovy.di
Represents a device attribute.
Attribute() - Constructor for class com.bosch.iot.dm.groovy.di.Attribute
Empty Constructor.
Attribute(String, T) - Constructor for class com.bosch.iot.dm.groovy.di.Attribute
Creates an Attribute with specified path and value.
attribute(String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Return the attribute object with the given attribute path or null if not found.
attributes() - Method in interface com.bosch.iot.dm.groovy.di.Device
Return all device attributes.

B

basicAuthentication(String, String) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Configure the request to perform basic access authentication.
bearerTokenAuthentication(String) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Configure the request to perform bearer token authentication.
bodyAsString() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 
buildHttpRequest(HttpMethod, String) - Method in interface com.bosch.iot.dm.groovy.http.HttpClient
Build the HTTP request Object

C

category() - Method in class com.bosch.iot.dm.groovy.di.Property
Return the Property category, e.g.
com.bosch.iot.dm.groovy.di - package com.bosch.iot.dm.groovy.di
This is tha main Scripting API of IoT Manager and provides functionality for working with Devices.
The most commonly used binding provided by this service is the one with alias "target" and is an object of type Device.
com.bosch.iot.dm.groovy.exec - package com.bosch.iot.dm.groovy.exec
Provides execution context Service API.
com.bosch.iot.dm.groovy.http - package com.bosch.iot.dm.groovy.http
Provides API for HTTP Client in the IoT Manager scripting.
cookies() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 

D

DefinitionFilter - Class in com.bosch.iot.dm.groovy.di
Used to select a particular Feature.
DefinitionFilter(String) - Constructor for class com.bosch.iot.dm.groovy.di.DefinitionFilter
 
DefinitionIdentifier - Class in com.bosch.iot.dm.groovy.di
This interface represents a single fully qualified identifier of a FeatureDefinition.
DefinitionIdentifier() - Constructor for class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
 
definitionIds() - Method in interface com.bosch.iot.dm.groovy.di.Feature
All feature identifiers.
deleteAttribute(String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Deletes the attribute with the specified attribute path.
deleteAttributes() - Method in interface com.bosch.iot.dm.groovy.di.Device
Deletes the entity's attributes.
deleteDesiredProperties() - Method in interface com.bosch.iot.dm.groovy.di.Feature
Deletes feature desired properties.
deleteDesiredProperty(String) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Deletes a desired property identified by path.
deleteProperties() - Method in interface com.bosch.iot.dm.groovy.di.Feature
Deletes feature properties.
deleteProperty(String) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Deletes the specified property.
desiredProperties() - Method in interface com.bosch.iot.dm.groovy.di.Feature
Returns the desired properties of this feature.
desiredProperty(String) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Returns the desired property identified by the propertyPath parameter.
Device - Interface in com.bosch.iot.dm.groovy.di
Device representation.
device(String) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
The device with a given id.
deviceId() - Method in interface com.bosch.iot.dm.groovy.di.Device
Return device identifier as string <namespace>:<id>
deviceId() - Method in interface com.bosch.iot.dm.groovy.di.Feature
Returns the Thing identifier this Feature belongs to.
deviceId() - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
Returns the device id of the Device for which the current script is being executed.
DeviceInventory - Interface in com.bosch.iot.dm.groovy.di
The main interface to the Device Inventory service.
devices(Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
An iterator over all devices that satisfy the applied selector.
devices(String, Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
All devices which have the same gateway identifier and satisfy the applied selector.
devices(Selector) - Method in interface com.bosch.iot.dm.groovy.di.Gateway
Collect all devices that match an applied filter.
devicesCount(Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Count the devices that satisfy the applied selector.
devicesCount(String, Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Count the devices connected to a gateway which has a given id, which satisfy the applied selector.

E

exec(String, String, Object, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.Device
Used to build asynchronous programming through Continuation Passing Style.
exec(String, String, String, Object, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Used to build asynchronous programming through Continuation Passing Style.
exec(String, Object, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Used to build asynchronous programming through Continuation Passing Style.
ExecutionControlScriptService - Interface in com.bosch.iot.dm.groovy.exec
Script API service providing execution self-control methods from within the Groovy script source.

F

feature(String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Return a feature with a given id or null.
Feature - Interface in com.bosch.iot.dm.groovy.di
Feature representation.
features() - Method in interface com.bosch.iot.dm.groovy.di.Device
Return device features.
features(DefinitionFilter) - Method in interface com.bosch.iot.dm.groovy.di.Device
Return all the features that satisfy a given filter or null if not found.
features(String, String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Return all the features with a given namespace and feature name.
features(String, String, String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Return all the features with a given namespace, feature name and version.
followedRedirects() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 

G

gateway(String) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
A gateway with a given id or null if not found.
Gateway - Interface in com.bosch.iot.dm.groovy.di
A gateway representation.
gatewayId() - Method in interface com.bosch.iot.dm.groovy.di.Device
Return gateway id.
gateways(Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
An iterator over all gateways that satisfy an applied selector.
gatewaysCount(Selector) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Count the gateways that satisfy the applied selector.
getFields() - Method in class com.bosch.iot.dm.groovy.di.Selector
Contains a comma separated list of fields to be included in the returned device objects.
getHeader(String) - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
Return the first header value with the specified name
getHeaders() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 
getId() - Method in class com.bosch.iot.dm.groovy.di.Identifier
Return the id of the entity.
getName() - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Return filter name.
getName() - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Return name field value.
getNamespace() - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Return namespace.
getNamespace() - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Return namespace field value.
getNamespace() - Method in class com.bosch.iot.dm.groovy.di.Identifier
Return the namespace of the entity.
getNamespaces() - Method in class com.bosch.iot.dm.groovy.di.Selector
A comma separated list of namespaces.
getOptions() - Method in class com.bosch.iot.dm.groovy.di.Selector
A comma separated list of sorting and paging options to be applied to the returned device set.
getQuery() - Method in class com.bosch.iot.dm.groovy.di.Selector
Return the device filtering criteria.
getTrailer(String) - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
Return the first trailer value with the specified name
getTrailers() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 
getVersion() - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Return version.
getVersion() - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Return version field value.

H

HttpClient - Interface in com.bosch.iot.dm.groovy.http
The main interface to the Http Client service.
HttpMethod - Enum in com.bosch.iot.dm.groovy.http
Http Method Type.
HttpRequest - Interface in com.bosch.iot.dm.groovy.http
Http Request.
HttpResponse - Interface in com.bosch.iot.dm.groovy.http
Http Response.
HttpVersion - Enum in com.bosch.iot.dm.groovy.http
Http Version.

I

id() - Method in interface com.bosch.iot.dm.groovy.di.Feature
Feature id.
id() - Method in class com.bosch.iot.dm.groovy.di.Property
Return the Property identifier.
identifier() - Method in interface com.bosch.iot.dm.groovy.di.Device
Return device identifier
Identifier - Class in com.bosch.iot.dm.groovy.di
Encapsulates information which uniquely identifies an entity.
Identifier() - Constructor for class com.bosch.iot.dm.groovy.di.Identifier
 

M

match(String, String) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Check if the device identified by the given id matches the applied filter.
matchWith(DefinitionIdentifier) - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Check if given identifier matches the given criteria.
message(String, String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Send opaque message.
message(String, String, String) - Method in interface com.bosch.iot.dm.groovy.di.Device
Send opaque message.
message(String, String, String) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Send opaque message.
message(String, String, String, String) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Send opaque message.
message(String, String) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Send opaque message.

P

path() - Method in class com.bosch.iot.dm.groovy.di.Attribute
Returns the Attribute path.
properties() - Method in interface com.bosch.iot.dm.groovy.di.Feature
All feature properties.
property(String) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Find a feature property with the given path if such exists or null otherwise.
Property<T> - Class in com.bosch.iot.dm.groovy.di
Represents a feature property.
Property() - Constructor for class com.bosch.iot.dm.groovy.di.Property
Empty Constructor.
Property(String, T) - Constructor for class com.bosch.iot.dm.groovy.di.Property
Creates an Attribute with specified path and value.
putHeader(String, String) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Configure the request to set a new HTTP header.

R

readObject(InputStream) - Method in class com.bosch.iot.dm.groovy.di.Attribute
 
readObject(InputStream) - Method in class com.bosch.iot.dm.groovy.di.Property
 
request(String, String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.Device
Send opaque message with response
request(String, String, String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.Device
Send opaque message with response
request(String, String, String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Send opaque message with response
request(String, String, String, String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.DeviceInventory
Send opaque message with response
request(String, String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Send opaque message with response
ruleId() - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
Return rule id of the Rule within which this method is invoked.

S

Selector - Class in com.bosch.iot.dm.groovy.di
Represents device search criteria providing filtering and sorting utilities.
Selector() - Constructor for class com.bosch.iot.dm.groovy.di.Selector
 
send(AsyncResult) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Send a request with empty body.
sendJson(String, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Send a Json string.
sendJsonObject(Object, AsyncResult) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Send a Json object.
serviceInstanceId() - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
Returns the id of the service instance subscription within which the current script is executed.
setAttribute(Attribute<T>) - Method in interface com.bosch.iot.dm.groovy.di.Device
Sets the device's attribute to the specified value.
setAttributes(List<Attribute<?>>) - Method in interface com.bosch.iot.dm.groovy.di.Device
Replace all the device's attributes to the specified value.
setCategory(String) - Method in class com.bosch.iot.dm.groovy.di.Property
Set category field value.
setDesiredProperties(List<Property<?>>) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets desired properties to this feature.
setDesiredProperty(Property<?>) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets given desired property to this feature.
setDesiredProperty(String, T) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets a desired property with given id and value to this feature.
setId(String) - Method in class com.bosch.iot.dm.groovy.di.Attribute
Deprecated.
replaced by @setPath.
setId(String) - Method in class com.bosch.iot.dm.groovy.di.Property
Set id field value.
setPath(String) - Method in class com.bosch.iot.dm.groovy.di.Attribute
Sets the Attribute path.
setProperties(List<Property<?>>) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets feature properties.
setProperty(Property<?>) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets given property to this feature.
setProperty(String, T) - Method in interface com.bosch.iot.dm.groovy.di.Feature
Sets a property with given id and value to this feature.
setValue(T) - Method in class com.bosch.iot.dm.groovy.di.Attribute
Sets the Attribute value.
setValue(T) - Method in class com.bosch.iot.dm.groovy.di.Property
Set value field.
ssl(Boolean) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Configure ssl.
statusCode() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 
statusMessage() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 
stayRunning(AsyncResult) - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
When invoked this method remains uncompleted.

T

taskId() - Method in interface com.bosch.iot.dm.groovy.exec.ExecutionControlScriptService
Returns task id of the Task within which this method is invoked.
timeout(long) - Method in interface com.bosch.iot.dm.groovy.http.HttpRequest
Configure the amount of time in milliseconds after which the request fails if no data is returned within the timeout.
toString() - Method in class com.bosch.iot.dm.groovy.di.Attribute
 
toString() - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
 
toString() - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
 
toString() - Method in class com.bosch.iot.dm.groovy.di.Identifier
 
toString() - Method in class com.bosch.iot.dm.groovy.di.Property
 
toString() - Method in class com.bosch.iot.dm.groovy.di.Selector
 

U

upsertAttribute(Attribute<T>) - Method in interface com.bosch.iot.dm.groovy.di.Device
Deprecated.
preferable way is to use Device.setAttribute(Attribute)
upsertAttributes(List<Attribute<?>>) - Method in interface com.bosch.iot.dm.groovy.di.Device
Deprecated.
preferable way is to use Device.setAttributes(List)

V

value() - Method in class com.bosch.iot.dm.groovy.di.Attribute
Returns the Attribute value.
value() - Method in class com.bosch.iot.dm.groovy.di.Property
Return the Property value.
valueOf(String) - Static method in enum com.bosch.iot.dm.groovy.http.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.bosch.iot.dm.groovy.http.HttpVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.bosch.iot.dm.groovy.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.bosch.iot.dm.groovy.http.HttpVersion
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in interface com.bosch.iot.dm.groovy.http.HttpResponse
 

W

withField(String) - Method in class com.bosch.iot.dm.groovy.di.Selector
Specify field to be included in the returned devices objects.
withId(String) - Method in class com.bosch.iot.dm.groovy.di.Identifier
Set the id.
withName(String) - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Set name filed value.
withNamespace(String) - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Set namespace.
withNamespace(String) - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Set namespace field value.
withNamespace(String) - Method in class com.bosch.iot.dm.groovy.di.Identifier
Set the namespace.
withNamespace(String) - Method in class com.bosch.iot.dm.groovy.di.Selector
Set namespace value.
withOption(String) - Method in class com.bosch.iot.dm.groovy.di.Selector
Set option filed.
withQuery(String) - Method in class com.bosch.iot.dm.groovy.di.Selector
Set the device filtering criteria.
withVersion(String) - Method in class com.bosch.iot.dm.groovy.di.DefinitionFilter
Set version.
withVersion(String) - Method in class com.bosch.iot.dm.groovy.di.DefinitionIdentifier
Set version field value.
writeObject(OutputStream) - Method in class com.bosch.iot.dm.groovy.di.Attribute
 
writeObject(OutputStream) - Method in class com.bosch.iot.dm.groovy.di.Property
 
A B C D E F G H I M P R S T U V W 
Skip navigation links