package jetbrains.buildServer.deployer.agent.ssh;

class SSHProcessAdapterOptions {
  private boolean myEnableSshAgentForwarding;
  private boolean myFailBuildOnExitCode;

  SSHProcessAdapterOptions(boolean myEnableSshAgentForwarding, boolean myFailBuildOnExitCode) {
    this.myEnableSshAgentForwarding = myEnableSshAgentForwarding;
    this.myFailBuildOnExitCode = myFailBuildOnExitCode;
  }

  boolean shouldFailBuildOnExitCode() {
    return myFailBuildOnExitCode;
  }

  boolean enableSshAgentForwarding() {
    return myEnableSshAgentForwarding;
  }
}

package jetbrains.buildServer.deployer.agent.ssh;

class SSHProcessAdapterOptions {
  private boolean myFailBuildOnExitCode;
  private boolean myEnableSshAgentForwarding;

  SSHProcessAdapterOptions(boolean myFailBuildOnExitCode, boolean myEnableSshAgentForwarding) {
    this.myFailBuildOnExitCode = myFailBuildOnExitCode;
    this.myEnableSshAgentForwarding = myEnableSshAgentForwarding;
  }

  boolean shouldFailBuildOnExitCode() {
    return myFailBuildOnExitCode;
  }

  boolean enableSshAgentForwarding() {
    return myEnableSshAgentForwarding;
  }
}

Fix order of parameters in SSH Process Adapter Options