Class ControllerApiRestReadWriteImpl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.controller.api.rest.AbstractRestApi
io.openems.edge.controller.api.rest.readwrite.ControllerApiRestReadWriteImpl
- All Implemented Interfaces:
OpenemsComponent
,Controller
,ControllerApiRestReadWrite
,RestApi
public class ControllerApiRestReadWriteImpl
extends AbstractRestApi
implements ControllerApiRestReadWrite, RestApi, Controller, OpenemsComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.controller.api.Controller
Controller.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.controller.api.rest.readwrite.ControllerApiRestReadWrite
ControllerApiRestReadWrite.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.controller.api.rest.RestApi
RestApi.ChannelId
-
Field Summary
Fields inherited from class io.openems.edge.controller.api.rest.AbstractRestApi
apiWorker, DEFAULT_DEBUG_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.protected AccessMode
Gets the AccessMode.protected ComponentManager
Gets the ComponentManager.protected JsonRpcRestHandler
Gets the JsonRpcRestHandler.protected UserService
Gets the UserService.Methods inherited from class io.openems.edge.controller.api.rest.AbstractRestApi
activate, isDebugModeEnabled, logError, logInfo, logWarn, run
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, modified, removeChannel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.controller.api.Controller
_setRunFailed, getRunFailed, getRunFailedChannel, run
Methods inherited from interface io.openems.edge.controller.api.rest.readwrite.ControllerApiRestReadWrite
getApiWorkerLogChannel
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
Methods inherited from interface io.openems.edge.controller.api.rest.RestApi
_setUnableToStart, getUnableToStart, getUnableToStartChannel
-
Constructor Details
-
ControllerApiRestReadWriteImpl
public ControllerApiRestReadWriteImpl()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractRestApi
-
getUserService
Description copied from class:AbstractRestApi
Gets the UserService.- Specified by:
getUserService
in classAbstractRestApi
- Returns:
- the service
-
getComponentManager
Description copied from class:AbstractRestApi
Gets the ComponentManager.- Specified by:
getComponentManager
in classAbstractRestApi
- Returns:
- the service
-
getRpcRestHandler
Description copied from class:AbstractRestApi
Gets the JsonRpcRestHandler.- Specified by:
getRpcRestHandler
in classAbstractRestApi
- Returns:
- the service
-
getAccessMode
Description copied from class:AbstractRestApi
Gets the AccessMode.- Specified by:
getAccessMode
in classAbstractRestApi
- Returns:
- the
AccessMode
-