Class UpdateControllerImpl
java.lang.Object
org.eblocker.server.http.controller.impl.UpdateControllerImpl
- All Implemented Interfaces:
UpdateController
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateControllerImpl(SystemUpdater systemUpdater, AutomaticUpdater autoUpdater, RegistrationService registrationService, SystemStatusService systemStatusService, ProductInfoService productInfoService, int secondsBetweenUpdateRequests) -
Method Summary
Modifier and TypeMethodDescriptiondownloadUpdates(org.restexpress.Request request, org.restexpress.Response response) getAutoUpdateInformation(org.restexpress.Request request, org.restexpress.Response response) getUpdatesCheckStatus(org.restexpress.Request request, org.restexpress.Response response) getUpdatingStatus(org.restexpress.Request request, org.restexpress.Response response) setAutomaticUpdatesConfig(org.restexpress.Request request, org.restexpress.Response response) setAutomaticUpdatesStatus(org.restexpress.Request request, org.restexpress.Response response) setUpdatingStatus(org.restexpress.Request request, org.restexpress.Response response)
-
Constructor Details
-
UpdateControllerImpl
@Inject public UpdateControllerImpl(SystemUpdater systemUpdater, AutomaticUpdater autoUpdater, RegistrationService registrationService, SystemStatusService systemStatusService, ProductInfoService productInfoService, int secondsBetweenUpdateRequests)
-
-
Method Details
-
getUpdatingStatus
public UpdatingStatus getUpdatingStatus(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
getUpdatingStatusin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
getAutoUpdateInformation
public UpdatingStatus getAutoUpdateInformation(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
getAutoUpdateInformationin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
setAutomaticUpdatesStatus
public UpdatingStatus setAutomaticUpdatesStatus(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
setAutomaticUpdatesStatusin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
setAutomaticUpdatesConfig
public UpdatingStatus setAutomaticUpdatesConfig(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
setAutomaticUpdatesConfigin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
setUpdatingStatus
public UpdatingStatus setUpdatingStatus(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
setUpdatingStatusin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
downloadUpdates
public UpdatingStatus downloadUpdates(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
downloadUpdatesin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-
getUpdatesCheckStatus
public UpdatingStatus getUpdatesCheckStatus(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
getUpdatesCheckStatusin interfaceUpdateController- Throws:
IOExceptionInterruptedException
-