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

jvergara
12.03.2009 72dbc9257b037e835392f4976661baca85a70570
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
@@ -58,6 +58,7 @@
  private ConnectionHandlerDescriptor adminConnector;
  private Set<DN> administrativeUsers = new HashSet<DN>();
  private File installPath;
  private File instancePath;
  private String openDSVersion;
  private String javaVersion;
  private ArrayList<OpenDsException> exceptions =
@@ -154,6 +155,28 @@
  }
  /**
   * Return the instance path where the server databases and configuration is
   * located.
   * @return the instance path where the server databases and configuration is
   * located
   */
  public File getInstancePath()
  {
    return instancePath;
  }
  /**
   * Sets the instance path where the server databases and configuration is
   * located.
   * @param instancePath the instance path where the server databases and
   * configuration is located.
   */
  public void setInstancePath(File instancePath)
  {
    this.instancePath = instancePath;
  }
  /**
   * Return the install path where the server is installed.
   * @return the install path where the server is installed.
   */
@@ -273,6 +296,11 @@
        if (equals)
        {
          equals = desc.getInstancePath().equals(getInstancePath());
        }
        if (equals)
        {
          if (desc.getJavaVersion() == null)
          {
            equals = getJavaVersion() == null;