UR - UnitRemoteDT - DataTypeSTE - StateTypeEnumpublic class GenericTrigger<UR extends org.openbase.bco.dal.remote.unit.AbstractUnitRemote,DT extends com.google.protobuf.GeneratedMessage,STE extends Enum<STE>> extends AbstractTrigger
| Constructor and Description |
|---|
GenericTrigger(UR unitRemote,
STE targetState,
rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
boolean |
isActive() |
void |
shutdown() |
deregisterObserver, getActivationState, notifyChange, registerObserverpublic void activate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void deactivate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic boolean isActive()
public void shutdown()
shutdown in interface org.openbase.jul.iface.Shutdownableshutdown in class AbstractTriggerCopyright © 2015–2017 openbase.org. All rights reserved.