org.springframework.boot.actuate.endpoint.invoke

Interface OperationParameters

    • Method Detail

      • 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

        Stream<OperationParameter> stream()
        Return a stream of the contained parameters.
        Returns:
        a stream of the parameters