Creates new {@link Argument} and adds it to the underlining parser andreturns it.
See {@link ArgumentParser#addArgument(String)} for details.
@param nameOrFlags A name or a list of option strings of new {@link Argument}. @return {@link Argument} object.Creates new {@link Argument} object and adds to this parser and returnsthe object.
The {@code nameOrFlags} is either a single name of positional argument ora list of option strings for optional argument, e.g. {@code foo} or{@code -f, --foo}.
@param nameOrFlags A name or a list of option strings of new {@link Argument}. @return {@link Argument} object.Creates new {@link Argument} and adds it to the underlining parser andreturns it.
See {@link ArgumentParser#addArgument(String)} for details.
@param nameOrFlags A name or a list of option strings of new {@link Argument}. @return {@link Argument} object.CASAdminException
object. Excess arguments will be ignored, and missing arguments will have the value null
. Add arguments in the order in which they are specified in the message catalog (i.e. add %1 first, %2 next, and so on). Adding a null String
has no effect! So if you don't know the value of an argument, use something like ""
or "UNKNOWN"
, but not null
.
@param s the argument to add
@return true if the argument was added
LowLevelException
object. Excess arguments will be ignored, and missing arguments will have the value null
. Add arguments in the order in which they are specified in the message catalog (i.e. add %1 first, %2 next, and so on). Adding a null String
has no effect! So if you don't know the value of an argument, use something like ""
or "UNKNOWN"
, but not null
.
XCASParsingException
object. Excess arguments will be ignored, and missing arguments will have the value null
. Add arguments in the order in which they are specified in the message catalog (i.e. add %1 first, %2 next, and so on). Adding a null String
has no effect! So if you don't know the value of an argument, use something like ""
or "UNKNOWN"
, but not null
.
@param s the argument to add
@return true if the argument was added, false if the argument was already added or was out of range
OmniFaces.Ajax.data
. For supported argument value types, read {@link Json#encode(Object)}. If a given argument type is not supported, then an {@link IllegalArgumentException} will be thrown during end of render response.
@param name The argument name.
@param value The argument value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|