public interface OperationParameters extends Iterable<OperationParameter>
operation parameters
.Modifier and Type | Method and Description |
---|---|
OperationParameter |
get(int index)
Return the parameter at the specified index.
|
int |
getParameterCount()
Return the total number of parameters.
|
default boolean |
hasMandatoryParameter()
Return if any of the contained parameters are
mandatory . |
default boolean |
hasParameters()
Return
true if there is at least one parameter. |
Stream<OperationParameter> |
stream()
Return a stream of the contained parameters.
|
forEach, iterator, spliterator
default boolean hasParameters()
true
if there is at least one parameter.int getParameterCount()
default boolean hasMandatoryParameter()
mandatory
.OperationParameter get(int index)
index
- the parameter indexStream<OperationParameter> stream()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.