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

lutoff
25.32.2007 7ad3b49f29529fc14f6f0732dc39062a1faf94e2
opendj-sdk/opends/src/server/org/opends/server/util/args/Argument.java
@@ -88,6 +88,9 @@
  // information.
  private String valuePlaceholder;
  // Indicates whether this argument was provided in the set of properties
  // found is a properties file.
  private boolean isValueSetByProperty;
  /**
@@ -139,6 +142,7 @@
    this.defaultValue     = defaultValue;
    this.propertyName     = propertyName;
    this.description      = description;
    this.isValueSetByProperty = false ;
    if ((shortIdentifier == null) && (longIdentifier == null))
    {
@@ -434,7 +438,31 @@
    this.propertyName = propertyName;
  }
  /**
   * Indicates whether this argument was provided in the set of
   * properties found is a properties file.
   *
   * @return <CODE>true</CODE> if this argument was provided in the
   *         set of properties found is a properties file, or
   *         <CODE>false</CODE> if not.
   */
  public boolean isValueSetByProperty()
  {
    return isValueSetByProperty;
  }
  /**
   * Specifies whether this argument was provided in the set of
   * properties found is a properties file.
   *
   * @param isValueSetByProperty
   *          Specify whether this argument was provided in the set
   *          of properties found is a properties file.
   */
  public void setValueSetByProperty(boolean isValueSetByProperty)
  {
    this.isValueSetByProperty = isValueSetByProperty;
  }
  /**
   * Retrieves the human-readable description for this argument.