| | |
| | | package org.opends.server.tools; |
| | | |
| | | import java.util.ArrayList; |
| | | import org.opends.server.protocols.ldap.LDAPControl; |
| | | |
| | | |
| | | import org.opends.server.types.Control; |
| | | |
| | | |
| | | /** |
| | |
| | | private boolean verbose = false; |
| | | private boolean continueOnError = false; |
| | | private String encoding = System.getProperty("file.encoding"); |
| | | private ArrayList<LDAPControl> controls = new ArrayList<LDAPControl>(); |
| | | private ArrayList<Control> controls = new ArrayList<Control>(); |
| | | |
| | | /** |
| | | * Creates a the tool options instance. |
| | |
| | | * |
| | | * @return The controls to apply to the operation. |
| | | */ |
| | | public ArrayList<LDAPControl> getControls() |
| | | public ArrayList<Control> getControls() |
| | | { |
| | | return controls; |
| | | } |
| | |
| | | * |
| | | * @param controls The set of controls to apply to the operation. |
| | | */ |
| | | public void setControls(ArrayList<LDAPControl> controls) |
| | | public void setControls(ArrayList<Control> controls) |
| | | { |
| | | this.controls = controls; |
| | | } |