| File was renamed from opends/src/ads/org/opends/admin/ads/DsServiceCliServerGroup.java |
| | |
| | | * |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.admin.ads; |
| | | package org.opends.server.admin.client.cli; |
| | | |
| | | import static org.opends.server.messages.AdminMessages.*; |
| | | import static org.opends.server.tools.ToolConstants.*; |
| | |
| | | import javax.naming.ldap.Rdn; |
| | | |
| | | |
| | | import org.opends.admin.ads.ADSContext; |
| | | import org.opends.admin.ads.ADSContextException; |
| | | import org.opends.admin.ads.ADSContext.ServerGroupProperty; |
| | | import org.opends.admin.ads.DsServiceCliReturnCode.ReturnCode; |
| | | import org.opends.server.admin.client.cli.DsServiceCliReturnCode.ReturnCode; |
| | | import org.opends.server.util.args.ArgumentException; |
| | | import org.opends.server.util.args.BooleanArgument; |
| | | import org.opends.server.util.args.StringArgument; |
| | |
| | | private HashMap<ServerGroupProperty, String> attributeDisplayName; |
| | | |
| | | /** |
| | | * Get the display attribute name for a given attribute. |
| | | * @param prop The server prperty |
| | | * @return the display attribute name for a given attribute |
| | | */ |
| | | public String getAttributeDisplayName(ServerGroupProperty prop) |
| | | { |
| | | return attributeDisplayName.get(prop); |
| | | } |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeCliGroup(SubCommandArgumentParser argParser, |