public class InstallationService extends java.lang.Object implements IInstallation
Constructor and Description |
---|
InstallationService(BmContext context) |
Modifier and Type | Method and Description |
---|---|
void |
deleteLogo() |
java.lang.String |
getHostReport() |
PublicInfos |
getInfos() |
CustomLogo |
getLogo() |
java.util.List<java.lang.String> |
getSubscriptionContacts() |
SubscriptionInformations |
getSubscriptionInformations() |
SystemState |
getSystemState() |
InstallationVersion |
getVersion() |
TaskRef |
initialize() |
void |
maintenanceMode() |
void |
markSchemaAsUpgraded() |
TaskRef |
partialUpgrade(java.lang.String fromVersion,
java.lang.String toVersion) |
void |
removeSubscription() |
void |
resetIndexes() |
void |
runningMode() |
java.lang.String |
sendHostReport() |
void |
setLogo(byte[] logo) |
void |
setSubscriptionContacts(java.util.List<java.lang.String> emails) |
void |
updateSubscription(java.lang.String licence) |
void |
updateSubscriptionVersion(java.lang.String version)
Update subscription URL to given version on all servers
|
void |
updateSubscriptionWithArchive(Stream archive) |
TaskRef |
upgrade() |
UpgradeStatus |
upgradeStatus() |
public InstallationService(BmContext context)
public TaskRef upgrade() throws ServerFault
upgrade
in interface IInstallation
ServerFault
public TaskRef partialUpgrade(java.lang.String fromVersion, java.lang.String toVersion) throws ServerFault
partialUpgrade
in interface IInstallation
ServerFault
public TaskRef initialize() throws ServerFault
initialize
in interface IInstallation
ServerFault
public InstallationVersion getVersion() throws ServerFault
getVersion
in interface IInstallation
ServerFault
public void markSchemaAsUpgraded() throws ServerFault
markSchemaAsUpgraded
in interface IInstallation
ServerFault
public SubscriptionInformations getSubscriptionInformations() throws ServerFault
getSubscriptionInformations
in interface IInstallation
ServerFault
public void updateSubscription(java.lang.String licence) throws ServerFault
updateSubscription
in interface IInstallation
ServerFault
public void updateSubscriptionWithArchive(Stream archive) throws ServerFault
updateSubscriptionWithArchive
in interface IInstallation
ServerFault
public void updateSubscriptionVersion(java.lang.String version)
IInstallation
updateSubscriptionVersion
in interface IInstallation
version
- target version. Special versions:
public void removeSubscription() throws ServerFault
removeSubscription
in interface IInstallation
ServerFault
public void resetIndexes()
resetIndexes
in interface IInstallation
public void setLogo(byte[] logo) throws ServerFault
setLogo
in interface ICustomTheme
ServerFault
public void deleteLogo() throws ServerFault
deleteLogo
in interface ICustomTheme
ServerFault
public CustomLogo getLogo() throws ServerFault
getLogo
in interface ICustomTheme
ServerFault
public SystemState getSystemState() throws ServerFault
getSystemState
in interface IInstallation
ServerFault
public void maintenanceMode() throws ServerFault
maintenanceMode
in interface IInstallation
ServerFault
public void runningMode() throws ServerFault
runningMode
in interface IInstallation
ServerFault
public UpgradeStatus upgradeStatus() throws ServerFault
upgradeStatus
in interface IInstallation
ServerFault
public PublicInfos getInfos()
getInfos
in interface IInstallation
public java.util.List<java.lang.String> getSubscriptionContacts() throws ServerFault
getSubscriptionContacts
in interface IInstallation
ServerFault
public void setSubscriptionContacts(java.util.List<java.lang.String> emails) throws ServerFault
setSubscriptionContacts
in interface IInstallation
ServerFault
public java.lang.String getHostReport()
getHostReport
in interface IInstallation
public java.lang.String sendHostReport()
sendHostReport
in interface IInstallation
Copyright © 2021. All Rights Reserved.