public class HttpUpdateStrategy extends Object implements IUpdateStrategy
| Constructor and Description |
|---|
HttpUpdateStrategy(String repositoryUrl) |
| Modifier and Type | Method and Description |
|---|---|
Date |
downloadUpdate(OutputStream destinationStream) |
long |
getUpdateSize() |
String |
getUpdateUrl() |
boolean |
isUpdateAvailable(File localJarFile) |
public HttpUpdateStrategy(String repositoryUrl)
public String getUpdateUrl()
getUpdateUrl in interface IUpdateStrategypublic long getUpdateSize()
getUpdateSize in interface IUpdateStrategypublic Date downloadUpdate(OutputStream destinationStream) throws Exception
downloadUpdate in interface IUpdateStrategyExceptionpublic boolean isUpdateAvailable(File localJarFile) throws Exception
isUpdateAvailable in interface IUpdateStrategyExceptionCopyright © 2017 Ecclesia Holding GmbH. All rights reserved.