Added comments .Removed changes not required.
Signed-off-by: Asharani <asharani.murugesh@in.bosch.com>
This commit is contained in:
@@ -254,10 +254,5 @@
|
|||||||
<artifactId>allure-junit-adaptor</artifactId>
|
<artifactId>allure-junit-adaptor</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.scala-lang</groupId>
|
|
||||||
<artifactId>scala-library</artifactId>
|
|
||||||
<version>2.10.4</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -12,7 +12,7 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Holds file and upload status details.
|
* Holds file and upload status details.Meta data sent with upload events.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class UploadFileStatus implements Serializable {
|
public class UploadFileStatus implements Serializable {
|
||||||
@@ -27,10 +27,10 @@ public class UploadFileStatus implements Serializable {
|
|||||||
|
|
||||||
private String failureReason;
|
private String failureReason;
|
||||||
|
|
||||||
public UploadFileStatus(String fileName){
|
public UploadFileStatus(String fileName) {
|
||||||
this.fileName = fileName;
|
this.fileName = fileName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UploadFileStatus(String fileName, long bytesRead, long contentLength) {
|
public UploadFileStatus(String fileName, long bytesRead, long contentLength) {
|
||||||
this.fileName = fileName;
|
this.fileName = fileName;
|
||||||
this.contentLength = contentLength;
|
this.contentLength = contentLength;
|
||||||
|
|||||||
@@ -8,6 +8,12 @@
|
|||||||
*/
|
*/
|
||||||
package org.eclipse.hawkbit.ui.artifacts.upload;
|
package org.eclipse.hawkbit.ui.artifacts.upload;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Holds uploaded file status.Used to display the details in upload status
|
||||||
|
* popup.
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class UploadStatusObject {
|
public class UploadStatusObject {
|
||||||
private String status;
|
private String status;
|
||||||
private Double progress;
|
private Double progress;
|
||||||
|
|||||||
Reference in New Issue
Block a user