| java.lang.Object | |
| ↳ | org.mule.module.blink1.Blink1Module |
Known Direct Subclasses
|
Known Indirect Subclasses
|
A connector for the blink(1) device.
{@sample.config INCLUDE_ERROR}| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | FAILED | ||||||||||
| int | MAX_PATTERN_POSITION | ||||||||||
| String | PROJECT_ISSUES_MESSAGE | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| COLOR_MAP | |||||||||||
| LOGGER | |||||||||||
| blink1 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clear the pattern stored in a blink(1) device.
| |||||||||||
Fade-in the color.
| |||||||||||
Get the status of all the connected blink(1) devices.
| |||||||||||
Set the color.
| |||||||||||
Start playing the stored pattern.
| |||||||||||
Schedule playing the server down pattern.
| |||||||||||
Stop playing the stored pattern.
| |||||||||||
Stop playing the server down pattern or cancel its scheduled execution.
| |||||||||||
Store a pattern.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Clear the pattern stored in a blink(1) device.
| deviceId | Unique identifier of the device. |
|---|
Fade-in the color.
| deviceId | Unique identifier of the device. |
|---|---|
| duration | Time in milliseconds that the fading lasts. |
| color | Either a Color name or an HTML color. |
Get the status of all the connected blink(1) devices.
Blink1Status, possibly empty but never null.
| IOException |
|---|
| colorString |
|---|
Start playing the stored pattern.
| deviceId | Unique identifier of the device. |
|---|---|
| position | Where to start playing the pattern. Between 0 and
MAX_PATTERN_POSITION.
|
Schedule playing the server down pattern.
| deviceId | Unique identifier of the device. |
|---|---|
| delay | Time in milliseconds after which the pattern will play. |
Stop playing the stored pattern.
| deviceId | Unique identifier of the device. |
|---|
Stop playing the server down pattern or cancel its scheduled execution.
| deviceId | Unique identifier of the device. |
|---|
Store a pattern.
| deviceId | Unique identifier of the device. |
|---|---|
| entries | Definition of the pattern. |
| startPosition | Position at which the pattern must be stored. Between 0 and
MAX_PATTERN_POSITION.
|