|
| 1 | +package org.zstack.header.storage.backup; |
| 2 | + |
| 3 | +import org.zstack.header.message.MessageReply; |
| 4 | + |
| 5 | +import java.util.Map; |
| 6 | + |
| 7 | +public class GetFileDownloadProgressFromBackupStorageHostReply extends MessageReply { |
| 8 | + private boolean completed; |
| 9 | + private int progress; |
| 10 | + |
| 11 | + private long size; |
| 12 | + private long actualSize; |
| 13 | + private long downloadSize; |
| 14 | + private String installPath; |
| 15 | + private long lastOpTime; |
| 16 | + private boolean supportSuspend; |
| 17 | + private String md5sum; |
| 18 | + private String format; |
| 19 | + |
| 20 | + private String unzipInstallPath; |
| 21 | + private Map<String, Long> unzipFiles; |
| 22 | + |
| 23 | + public boolean isCompleted() { |
| 24 | + return completed; |
| 25 | + } |
| 26 | + |
| 27 | + public void setCompleted(boolean completed) { |
| 28 | + this.completed = completed; |
| 29 | + } |
| 30 | + |
| 31 | + public int getProgress() { |
| 32 | + return progress; |
| 33 | + } |
| 34 | + |
| 35 | + public void setProgress(int progress) { |
| 36 | + this.progress = progress; |
| 37 | + } |
| 38 | + |
| 39 | + public long getSize() { |
| 40 | + return size; |
| 41 | + } |
| 42 | + |
| 43 | + public void setSize(long size) { |
| 44 | + this.size = size; |
| 45 | + } |
| 46 | + |
| 47 | + public long getActualSize() { |
| 48 | + return actualSize; |
| 49 | + } |
| 50 | + |
| 51 | + public void setActualSize(long actualSize) { |
| 52 | + this.actualSize = actualSize; |
| 53 | + } |
| 54 | + |
| 55 | + public String getInstallPath() { |
| 56 | + return installPath; |
| 57 | + } |
| 58 | + |
| 59 | + public void setInstallPath(String installPath) { |
| 60 | + this.installPath = installPath; |
| 61 | + } |
| 62 | + |
| 63 | + public String getFormat() { |
| 64 | + return format; |
| 65 | + } |
| 66 | + |
| 67 | + public void setFormat(String format) { |
| 68 | + this.format = format; |
| 69 | + } |
| 70 | + |
| 71 | + public long getLastOpTime() { |
| 72 | + return lastOpTime; |
| 73 | + } |
| 74 | + |
| 75 | + public void setLastOpTime(long lastOpTime) { |
| 76 | + this.lastOpTime = lastOpTime; |
| 77 | + } |
| 78 | + |
| 79 | + public long getDownloadSize() { |
| 80 | + return downloadSize; |
| 81 | + } |
| 82 | + |
| 83 | + public void setDownloadSize(long downloadSize) { |
| 84 | + this.downloadSize = downloadSize; |
| 85 | + } |
| 86 | + |
| 87 | + public boolean isSupportSuspend() { |
| 88 | + return supportSuspend; |
| 89 | + } |
| 90 | + |
| 91 | + public void setSupportSuspend(boolean supportSuspend) { |
| 92 | + this.supportSuspend = supportSuspend; |
| 93 | + } |
| 94 | + |
| 95 | + public String getMd5sum() { |
| 96 | + return md5sum; |
| 97 | + } |
| 98 | + |
| 99 | + public void setMd5sum(String md5sum) { |
| 100 | + this.md5sum = md5sum; |
| 101 | + } |
| 102 | + |
| 103 | + public String getUnzipInstallPath() { |
| 104 | + return unzipInstallPath; |
| 105 | + } |
| 106 | + |
| 107 | + public void setUnzipInstallPath(String unzipInstallPath) { |
| 108 | + this.unzipInstallPath = unzipInstallPath; |
| 109 | + } |
| 110 | + |
| 111 | + public Map<String, Long> getUnzipFiles() { |
| 112 | + return unzipFiles; |
| 113 | + } |
| 114 | + |
| 115 | + public void setUnzipFiles(Map<String, Long> unzipFiles) { |
| 116 | + this.unzipFiles = unzipFiles; |
| 117 | + } |
| 118 | +} |
0 commit comments