Loading src/main/java/ecorp/easy/installer/models/steps/BasicStep.java +16 −4 Original line number Diff line number Diff line Loading @@ -23,14 +23,14 @@ package ecorp.easy.installer.models.steps; * @author Vincent Bourgmayer */ public class BasicStep implements IStep{ public final static String LAST_STEP_KEY = "L"; //When a next step key has this value, it means that this is the last step of the process private final String type; private final int stepNumber; //This is the number of the step in the process protected String nextStepKey; //This is the key to the next Step private final int stepNumber; //= step index protected String nextStepKey; /** * Create an instance of Step * @param type the type of the step * @param nextStepKey * @param stepNumber the number of the step in the whole process */ public BasicStep(String type, String nextStepKey, int stepNumber) { Loading @@ -39,17 +39,29 @@ public class BasicStep implements IStep{ this.stepNumber = stepNumber; } /** * Get the type of the step (Custom, CustomExecutable, Load, etc.) * @return String the value of the type */ @Override public String getType() { return type; } /** * Get the index of the step in a given process * @return Int index of the step */ @Override public int getStepNumber() { return stepNumber; } /** * Give the key of the step to load when this one will be achieved * @return String the next step key */ @Override public String getNextStepKey() { return nextStepKey; Loading Loading
src/main/java/ecorp/easy/installer/models/steps/BasicStep.java +16 −4 Original line number Diff line number Diff line Loading @@ -23,14 +23,14 @@ package ecorp.easy.installer.models.steps; * @author Vincent Bourgmayer */ public class BasicStep implements IStep{ public final static String LAST_STEP_KEY = "L"; //When a next step key has this value, it means that this is the last step of the process private final String type; private final int stepNumber; //This is the number of the step in the process protected String nextStepKey; //This is the key to the next Step private final int stepNumber; //= step index protected String nextStepKey; /** * Create an instance of Step * @param type the type of the step * @param nextStepKey * @param stepNumber the number of the step in the whole process */ public BasicStep(String type, String nextStepKey, int stepNumber) { Loading @@ -39,17 +39,29 @@ public class BasicStep implements IStep{ this.stepNumber = stepNumber; } /** * Get the type of the step (Custom, CustomExecutable, Load, etc.) * @return String the value of the type */ @Override public String getType() { return type; } /** * Get the index of the step in a given process * @return Int index of the step */ @Override public int getStepNumber() { return stepNumber; } /** * Give the key of the step to load when this one will be achieved * @return String the next step key */ @Override public String getNextStepKey() { return nextStepKey; Loading