接口 OperationParameters

所有超级接口:
Iterable<OperationParameter>

public interface OperationParameters extends Iterable<OperationParameter>
A collection of operation parameters.
从以下版本开始:
2.0.0
作者:
Phillip Webb
  • 方法详细资料

    • hasParameters

      default boolean hasParameters()
      Return true 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 are mandatory.
      返回:
      if any parameters are mandatory
    • get

      OperationParameter get(int index)
      Return the parameter at the specified index.
      参数:
      index - the parameter index
      返回:
      the parameter
    • stream

      Return a stream of the contained parameters.
      返回:
      a stream of the parameters