Class TaskParameters


  • public class TaskParameters
    extends Object
    Class representing additional task parameters.
    • Constructor Detail

      • TaskParameters

        public TaskParameters​(Map<String,​String> parameters)
        Creates a new TaskParameters instance.
        Parameters:
        parameters - task parameters
    • Method Detail

      • getParameter

        public Optional<String> getParameter​(String parameter)
        Returns the value of the specified task parameter.
        Parameters:
        parameter - task parameter name
        Returns:
        value of the specified task parameter
      • isNotEmpty

        public boolean isNotEmpty()
        Returns whether there are any additional task parameters.
        Returns:
        whether there are any additional task parameters
      • stream

        public Stream<Map.Entry<String,​String>> stream()
        Returns a stream iterating over entries of the parameters map.
        Returns:
        stream iterating over entries of the parameters map