| | |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | import com.sun.opends.sdk.util.Message; |
| | | import org.opends.sdk.LocalizableMessage; |
| | | |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | |
| | | // Description for this group of arguments |
| | | private Message description = null; |
| | | private LocalizableMessage description = null; |
| | | |
| | | // List of arguments belonging to this group |
| | | private List<Argument> args = null; |
| | |
| | | * usage statement. Groups with higher priority values appear |
| | | * before groups with lower priority. |
| | | */ |
| | | ArgumentGroup(Message description, int priority) |
| | | ArgumentGroup(LocalizableMessage description, int priority) |
| | | { |
| | | this.description = description; |
| | | this.priority = priority; |
| | |
| | | * |
| | | * @return description for this argument group |
| | | */ |
| | | Message getDescription() |
| | | LocalizableMessage getDescription() |
| | | { |
| | | return this.description; |
| | | } |
| | |
| | | * @param description |
| | | * for this argument group |
| | | */ |
| | | void setDescription(Message description) |
| | | void setDescription(LocalizableMessage description) |
| | | { |
| | | this.description = description; |
| | | } |