接口 OperationParameters
- 所有超级接口:
Iterable<OperationParameter>
public interface OperationParameters extends Iterable<OperationParameter>
A collection ofoperation parameters
.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 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 aremandatory
.default boolean
hasParameters()
Returntrue
if there is at least one parameter.Stream<OperationParameter>
stream()
Return a stream of the contained parameters.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
方法详细资料
hasParameters
default boolean hasParameters()
Returntrue
if there is at least one parameter.- 返回:
- if there are parameters
getParameterCount
int getParameterCount()
Return the total number of parameters.- 返回:
- the total number of parameters
hasMandatoryParameter
default boolean hasMandatoryParameter()
Return if any of the contained parameters aremandatory
.- 返回:
- if any parameters are mandatory
get
OperationParameter get(int index)
Return the parameter at the specified index.- 参数:
index
- the parameter index- 返回:
- the parameter
stream
Stream<OperationParameter> stream()
Return a stream of the contained parameters.- 返回:
- a stream of the parameters