public class OpenHabWaitForEventWithResult extends Object implements ProcessStepWorker, OpenHabEventProvider.OHEventItemStateListener
OpenHabWaitForEvent but the first result which occurs will mapped to the
Datatypeinstances with name RESULT_TYPE. This should also be present as a startdata
port, so that the correct datatype instance is committed as parameter.
Only for Demo purposesProcessStepWorker.Context| Constructor and Description |
|---|
OpenHabWaitForEventWithResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy() |
void |
onItemState(OpenHabEvent.OHItemStateEvent ohEvent) |
List<eu.vicci.process.model.sofiainstance.DataTypeInstance> |
work(ProcessStepWorker.Context context) |
public void deploy()
deploy in interface ProcessStepWorkerpublic List<eu.vicci.process.model.sofiainstance.DataTypeInstance> work(ProcessStepWorker.Context context)
work in interface ProcessStepWorkerpublic void onItemState(OpenHabEvent.OHItemStateEvent ohEvent)
onItemState in interface OpenHabEventProvider.OHEventItemStateListenerCopyright © 2018. All rights reserved.