org.opends.server.tools
Class LDAPModifyOptions

java.lang.Object
  extended by org.opends.server.tools.LDAPToolOptions
      extended by org.opends.server.tools.LDAPModifyOptions

public class LDAPModifyOptions
extends LDAPToolOptions

This class defines options for all the modify operations used by the ldapmodify tool.


Constructor Summary
LDAPModifyOptions()
          Creates the options instance.
 
Method Summary
 boolean getDefaultAdd()
          Get the value of the defaultAdd flag.
 void setDefaultAdd(boolean defaultAdd)
          Set whether to default to adding entries if no changetype is provided.
 
Methods inherited from class org.opends.server.tools.LDAPToolOptions
continueOnError, getControls, getEncoding, getVerbose, setContinueOnError, setControls, setEncoding, setShowOperations, setVerbose, showOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPModifyOptions

public LDAPModifyOptions()
Creates the options instance.

Method Detail

setDefaultAdd

public void setDefaultAdd(boolean defaultAdd)
Set whether to default to adding entries if no changetype is provided.

Parameters:
defaultAdd - If entries with no changetype should be considered add requests.

getDefaultAdd

public boolean getDefaultAdd()
Get the value of the defaultAdd flag.

Returns:
true if a default changetype of "add" should be used, or false if not.