Skip to content

Commit 451c528

Browse files
author
Ravi Nadahar
committed
Minor fixes
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
1 parent 8a40857 commit 451c528

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

configuration/rules-dsl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -888,15 +888,15 @@ Only the methods deemed most relevant are listed, to get all the details, consul
888888
| `getRuleManager()` | `RuleManager` | Get the `RuleManager` instance, also known as the "rule engine" or `RuleEngine`. |
889889
| `getScheduler()` | `Scheduler` | Get the `Scheduler` instance. |
890890
| `getScriptEngine()` | `ScriptEngine` | Get the `ScriptEngine` instance. |
891-
| `getActionServices()` | `List<ActionService>` | Get the list of the currently registered `ActionService` instances. |
891+
| `getActionServices()` | `List<ActionService>` | Get the list of currently registered `ActionService` instances. |
892892
| `getThingActions()` | `List<ThingActions>` | Get the list of currently registered `ThingActions` instances. |
893-
| `getInstance(Class<T> clazz)` | `T` | Get the instance of any registered OSGi service, or `null` if it doesn't exist. The returned type has the type specified in the `clazz` argument. |
893+
| `getInstance(Class<T> clazz)` | `T` | Get an instance of any registered OSGi service, or `null` if it doesn't exist. The returned type has the type specified in the `clazz` argument. |
894894

895895
##### [Ping](https://www.openhab.org/javadoc/latest/org/openhab/core/model/script/actions/ping)
896896

897897
| Method | Return type | Description |
898898
| --- | --- | --- |
899-
| `checkVitality(String host, int port, int timeout)` | `boolean` | Check the vitality of `host`. If `port` is `0`, a regular ICMP ping is issued. If any other port is specified, a socket will be attempted opened using this port. `timeout` is specified in milliseconds. |
899+
| `checkVitality(String host, int port, int timeout)` | `boolean` | Check the vitality of `host`. If `port` is `0`, a regular ICMP ping is issued. If any other port is specified, a socket will be attempted to be opened using this port. `timeout` is specified in milliseconds. |
900900

901901
##### [Things](https://www.openhab.org/javadoc/latest/org/openhab/core/model/script/actions/things)
902902

@@ -916,7 +916,7 @@ Only the methods deemed most relevant are listed, to get all the details, consul
916916
| `Channels.getBoundChannels(String itemName)` | `Set<ChannelUID>` | Get the `ChannelUID`s of the channels that are bound to the specified `Item`. |
917917
| `Channels.getBoundChannels(Item item)` | `Set<ChannelUID>` | Get the `ChannelUID`s of the channels that are bound to the specified `Item`. |
918918
| `Channels.getBoundThings(String itemName)` | `Set<Thing>` | Get the `Thing`s that are bound to the specified `Item`. |
919-
| `Channels.getBoundThings(Item item)` | `Set<Thing>` | Get the `Thing`s that are bound to the specified `Item`. |
919+
| `Channels.getBoundThings(Item item)` | `Set<Thing>` | Get the `Thing`s that are bound to the specified `Item`. |
920920
| `Channels.getLinkedItemNames(String channelUid)` | `Set<String>` | Get the names of all the `Item`s that are linked to a specific channel. |
921921
| `Channels.getLinkedItemNames(ChannelUID channelUid)` | `Set<String>` | Get the names of all the `Item`s that are linked to a specific channel. |
922922
| `Channels.getLinkedItems(String channelUid)` | `Set<Item>` | Get all `Item`s that are linked to a specific channel. |

0 commit comments

Comments
 (0)