| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | * Portions Copyright 2007-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.tools.dsconfig; |
| | | |
| | |
| | | import org.opends.server.admin.AbsoluteInheritedDefaultBehaviorProvider; |
| | | import org.opends.server.admin.AbstractManagedObjectDefinition; |
| | | import org.opends.server.admin.AdministratorAction; |
| | | import org.opends.server.admin.AggregationPropertyDefinition; |
| | | import org.opends.server.admin.AliasDefaultBehaviorProvider; |
| | | import org.opends.server.admin.DefaultBehaviorProviderVisitor; |
| | | import org.opends.server.admin.DefinedDefaultBehaviorProvider; |
| | |
| | | // Display the property synopsis and description. |
| | | app.println(); |
| | | app.println(pd.getSynopsis(), 4); |
| | | |
| | | if (pd.getDescription() != null) { |
| | | app.println(); |
| | | app.println(pd.getDescription(), 4); |
| | | } |
| | | |
| | | if (pd instanceof AggregationPropertyDefinition) { |
| | | AggregationPropertyDefinition<?, ?> apd = |
| | | (AggregationPropertyDefinition<?, ?>) pd; |
| | | if (apd.getSourceConstraintSynopsis() != null) { |
| | | app.println(); |
| | | app.println(apd.getSourceConstraintSynopsis(), 4); |
| | | } |
| | | } |
| | | |
| | | // Display the syntax. |
| | | app.println(); |
| | | SyntaxPrinter syntaxPrinter = new SyntaxPrinter(); |