Interface OperationParameters

All Superinterfaces:
Iterable<OperationParameter>

public interface OperationParameters extends Iterable<OperationParameter>
A collection of operation parameters.
Since:
2.0.0
Author:
Phillip Webb
  • Method Details

    • hasParameters

      default boolean hasParameters()
      Return true if there is at least one parameter.
      Returns:
      if there are parameters
    • getParameterCount

      int getParameterCount()
      Return the total number of parameters.
      Returns:
      the total number of parameters
    • hasMandatoryParameter

      default boolean hasMandatoryParameter()
      Return if any of the contained parameters are mandatory.
      Returns:
      if any parameters are mandatory
    • get

      OperationParameter get(int index)
      Return the parameter at the specified index.
      Parameters:
      index - the parameter index
      Returns:
      the parameter
    • stream

      Return a stream of the contained parameters.
      Returns:
      a stream of the parameters