Loading src/main/java/ecorp/easy/installer/models/Phone.java +22 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ */ package ecorp.easy.installer.models; import ecorp.easy.installer.models.Process; /** * Encapsulate data about the device * @author Vincent Bourgmayer Loading @@ -32,6 +34,8 @@ public class Phone { private boolean adbAuthorized = false; //private boolean isReady = false; //tell if preparation process succeed private Process flashingProcess; /** * get Device internal Code * @return Loading Loading @@ -141,4 +145,22 @@ public class Phone { public void setAdbAuthorized(boolean adbAuthorized) { this.adbAuthorized = adbAuthorized; } /** * Get the flashing process of the phone * Can return null if not setted * @return */ public Process getFlashingProcess() { return flashingProcess; } /** * Set the flashing process of the phone * @param flashingProcess */ public void setFlashingProcess(Process flashingProcess) { this.flashingProcess = flashingProcess; } } Loading
src/main/java/ecorp/easy/installer/models/Phone.java +22 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ */ package ecorp.easy.installer.models; import ecorp.easy.installer.models.Process; /** * Encapsulate data about the device * @author Vincent Bourgmayer Loading @@ -32,6 +34,8 @@ public class Phone { private boolean adbAuthorized = false; //private boolean isReady = false; //tell if preparation process succeed private Process flashingProcess; /** * get Device internal Code * @return Loading Loading @@ -141,4 +145,22 @@ public class Phone { public void setAdbAuthorized(boolean adbAuthorized) { this.adbAuthorized = adbAuthorized; } /** * Get the flashing process of the phone * Can return null if not setted * @return */ public Process getFlashingProcess() { return flashingProcess; } /** * Set the flashing process of the phone * @param flashingProcess */ public void setFlashingProcess(Process flashingProcess) { this.flashingProcess = flashingProcess; } }