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;
  }
}

@@ -101,146 +101,204 @@
 n my
-EnableSshAgentForwarding;%0A  private boolean myFailBuildOnExitCode;%0A%0A  SSHProcessAdapterOptions(boolean myEnableSshAgentForwarding, boolean
+FailBuildOnExitCode;%0A  private boolean myEnableSshAgentForwarding;%0A%0A  SSHProcessAdapterOptions(boolean myFailBuildOnExitCode, boolean myEnableSshAgentForwarding) %7B%0A    this.myFailBuildOnExitCode =
  myF
@@ -315,19 +315,17 @@
 ExitCode
-) %7B
+;
 %0A    thi
@@ -387,64 +387,8 @@
 ng;%0A
-    this.myFailBuildOnExitCode = myFailBuildOnExitCode;%0A
   %7D%0A

Fix order of parameters in SSH Process Adapter Options