|
| 1 | +package org.zstack.header.storage.backup; |
| 2 | + |
| 3 | +import org.zstack.header.log.NoLogging; |
| 4 | +import org.zstack.header.message.NeedReplyMessage; |
| 5 | + |
| 6 | +public class SoftwareUpgradePackageDeployMsg extends NeedReplyMessage implements BackupStorageMessage { |
| 7 | + private String backupStorageUuid; |
| 8 | + private String backupStorageHostUuid; |
| 9 | + private String upgradePackagePath; |
| 10 | + private String upgradePackageTargetPath; |
| 11 | + private int targetHostSshPort; |
| 12 | + private String targetHostSshUsername; |
| 13 | + @NoLogging |
| 14 | + private String targetHostSshPassword; |
| 15 | + private String targetHostIp; |
| 16 | + private String upgradeScriptPath; |
| 17 | + |
| 18 | + @Override |
| 19 | + public String getBackupStorageUuid() { |
| 20 | + return backupStorageUuid; |
| 21 | + } |
| 22 | + |
| 23 | + public void setBackupStorageUuid(String backupStorageUuid) { |
| 24 | + this.backupStorageUuid = backupStorageUuid; |
| 25 | + } |
| 26 | + |
| 27 | + public String getBackupStorageHostUuid() { |
| 28 | + return backupStorageHostUuid; |
| 29 | + } |
| 30 | + |
| 31 | + public void setBackupStorageHostUuid(String backupStorageHostUuid) { |
| 32 | + this.backupStorageHostUuid = backupStorageHostUuid; |
| 33 | + } |
| 34 | + |
| 35 | + public String getUpgradePackageTargetPath() { |
| 36 | + return upgradePackageTargetPath; |
| 37 | + } |
| 38 | + |
| 39 | + public void setUpgradePackageTargetPath(String upgradePackageTargetPath) { |
| 40 | + this.upgradePackageTargetPath = upgradePackageTargetPath; |
| 41 | + } |
| 42 | + |
| 43 | + public String getUpgradePackagePath() { |
| 44 | + return upgradePackagePath; |
| 45 | + } |
| 46 | + |
| 47 | + public void setUpgradePackagePath(String upgradePackagePath) { |
| 48 | + this.upgradePackagePath = upgradePackagePath; |
| 49 | + } |
| 50 | + |
| 51 | + public int getTargetHostSshPort() { |
| 52 | + return targetHostSshPort; |
| 53 | + } |
| 54 | + |
| 55 | + public void setTargetHostSshPort(int targetHostSshPort) { |
| 56 | + this.targetHostSshPort = targetHostSshPort; |
| 57 | + } |
| 58 | + |
| 59 | + public String getTargetHostSshUsername() { |
| 60 | + return targetHostSshUsername; |
| 61 | + } |
| 62 | + |
| 63 | + public void setTargetHostSshUsername(String targetHostSshUsername) { |
| 64 | + this.targetHostSshUsername = targetHostSshUsername; |
| 65 | + } |
| 66 | + |
| 67 | + public String getTargetHostSshPassword() { |
| 68 | + return targetHostSshPassword; |
| 69 | + } |
| 70 | + |
| 71 | + public void setTargetHostSshPassword(String targetHostSshPassword) { |
| 72 | + this.targetHostSshPassword = targetHostSshPassword; |
| 73 | + } |
| 74 | + |
| 75 | + public String getTargetHostIp() { |
| 76 | + return targetHostIp; |
| 77 | + } |
| 78 | + |
| 79 | + public void setTargetHostIp(String targetHostIp) { |
| 80 | + this.targetHostIp = targetHostIp; |
| 81 | + } |
| 82 | + |
| 83 | + public String getUpgradeScriptPath() { |
| 84 | + return upgradeScriptPath; |
| 85 | + } |
| 86 | + |
| 87 | + public void setUpgradeScriptPath(String upgradeScriptPath) { |
| 88 | + this.upgradeScriptPath = upgradeScriptPath; |
| 89 | + } |
| 90 | +} |
0 commit comments