/** * Create a new DeploymentStage. * * @param name the name of the stage * @param after he stage before our stage * @param before the stage after our stage * @throws IllegalArgumentException for a null parameter */ public DeploymentStage(String name, DeploymentStage after, DeploymentStage before) { this(name, getStageName(after, "after"), getStageName(before, "before")); }
/** * Create a new DeploymentStage. * * @param name the name of the stage * @param after the stage before our stage * @throws IllegalArgumentException for a null parameter */ public DeploymentStage(String name, DeploymentStage after) { this(name, getStageName(after, "after"), null); }