public class SceneControllerImpl extends org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder> implements SceneController
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_EXECUTION_DEPLAY |
static int |
ACTION_REPLAY |
FIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPEinformer, informerWatchDog, logger, managableLock, RPC_REQUEST_STATUS, scope, SCOPE_SUFFIX_CONTROL, SCOPE_SUFFIX_STATUS, server, serverWatchDogUPDATE_METHOD_PREFIX| Constructor and Description |
|---|
SceneControllerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
rst.domotic.unit.UnitConfigType.UnitConfig |
applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config) |
void |
deactivate() |
protected void |
execute() |
void |
init(rst.domotic.unit.UnitConfigType.UnitConfig config) |
protected boolean |
isAutostartEnabled() |
boolean |
isExecuting() |
protected void |
stop() |
cancelExecution, disable, enable, getActivationState, isEnabled, setActivationStateaddServiceStateObserver, applyAction, applyDataUpdate, getId, getLabel, getServices, getTemplate, getType, getUnitRegistry, getUpdateMethod, init, init, init, notifyDataUpdate, postInit, registerMethods, registerService, removeServiceStateObserver, shutdown, toString, verifyAuthoritygetConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldaddDataObserver, cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getDataFuture, getScope, hasDataField, init, init, init, init, isActive, isDataAvailable, notifyChange, ping, removeDataObserver, requestStatus, setDataField, setDataField, supportsDataField, validateInitialization, waitForAvailabilityState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetActivationState, setActivationStategetActivationStategetUpdateMethodNamebuildServiceState, detectServiceDataClass, detectServiceMethod, detectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateClass, getServiceStateName, getServiceStateName, getServiceStateValues, getServiceType, invokeOperationServiceMethod, invokeProviderServiceMethod, invokeServiceMethod, invokeServiceMethod, upateActionDescription, upateActionDescriptionapplyDataUpdate, getUpdateMethodgetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStateregisterShutdownHook, registerShutdownHook, shutdowncloneDataBuilder, getBuilderSetup, getDataBuilder, getDataBuildergetTemplate, getType, recordSnapshot, restoreSnapshot, verifyOperationServiceState, verifyOperationServiceStateValuepublic static final int ACTION_REPLAY
public static final int ACTION_EXECUTION_DEPLAY
public SceneControllerImpl()
throws org.openbase.jul.exception.InstantiationException
org.openbase.jul.exception.InstantiationExceptionpublic void init(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface org.openbase.bco.dal.lib.layer.unit.UnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>init in interface org.openbase.jul.iface.Initializable<rst.domotic.unit.UnitConfigType.UnitConfig>init in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
applyConfigUpdate in interface org.openbase.jul.iface.Configurable<String,rst.domotic.unit.UnitConfigType.UnitConfig>applyConfigUpdate in class org.openbase.bco.dal.lib.layer.unit.AbstractUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void deactivate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionprotected void execute()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
execute in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void stop()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
stop in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic boolean isExecuting()
isExecuting in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>protected boolean isAutostartEnabled()
throws org.openbase.jul.exception.CouldNotPerformException
isAutostartEnabled in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.scene.SceneDataType.SceneData,rst.domotic.unit.scene.SceneDataType.SceneData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2015–2017 openbase.org. All rights reserved.