| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions copyright 2014 ForgeRock AS |
| | | * Portions copyright 2014-2016 ForgeRock AS |
| | | */ |
| | | package com.forgerock.opendj.cli; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * Retrieves the set of allowed values for this argument. The contents of |
| | | * this set must not be altered by the caller. |
| | | * |
| | | * @return The set of allowed values for this argument. |
| | | */ |
| | | public Collection<T> getAllowedValues() { |
| | | return allowedValues; |
| | | } |
| | | |
| | | /** |
| | | * Retrieves the string vale for this argument. If it has multiple values, |
| | | * Retrieves the string value for this argument. If it has multiple values, |
| | | * then the first will be returned. If it does not have any values, then the |
| | | * default value will be returned. |
| | | * |
| | |
| | | } |
| | | |
| | | /** |
| | | * Indicates whether the set of allowed values for this argument should be |
| | | * treated in a case-sensitive manner. |
| | | * |
| | | * @return <CODE>true</CODE> if the values are to be treated in a |
| | | * case-sensitive manner, or <CODE>false</CODE> if not. |
| | | */ |
| | | public boolean isCaseSensitive() { |
| | | return caseSensitive; |
| | | } |
| | | |
| | | /** |
| | | * Specifies the default value that will be used for this argument if it is |
| | | * not specified on the command line and it is not set from a properties |
| | | * file. |