mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
08.43.2007 43e9c7913fc664b725e167090fe6d389a4558315
opends/src/quicksetup/org/opends/quicksetup/installer/DataReplicationOptions.java
@@ -57,6 +57,7 @@
  }
  private Type type;
  private int replicationPort;
  private AuthenticationData authenticationData;
  /**
@@ -80,6 +81,7 @@
    {
    case IN_EXISTING_TOPOLOGY:
      authenticationData = (AuthenticationData)args[0];
      replicationPort = (Integer)args[1];
      break;
    default:
@@ -87,6 +89,7 @@
      if ((args != null) && (args.length > 0))
      {
        authenticationData = (AuthenticationData)args[0];
        replicationPort = (Integer)args[1];
      }
    }
  }
@@ -112,5 +115,15 @@
  {
    return authenticationData;
  }
  /**
   * Returns the port that is going to be used for replication.
   *
   * @return the replication that must be used to configure replication.
   */
  public int getReplicationPort()
  {
    return replicationPort;
  }
}