Class TaskProperties


  • public class TaskProperties
    extends Object
    Properties representing configuration for an individual task.
    Since:
    2.0.0
    Author:
    Rutger Lubbers, Paul Klos
    • Constructor Detail

      • TaskProperties

        public TaskProperties()
    • Method Detail

      • getMethod

        public String getMethod()
        Getter for method name.
        Returns:
        the method name
      • setMethod

        public void setMethod​(String method)
        Setter for method name.
        Parameters:
        method - the method name
      • getExecutor

        public String getExecutor()
        Getter for executor.
        Returns:
        the executor
      • setExecutor

        public void setExecutor​(String executor)
        Setter for executor.
        Parameters:
        executor - the executor
      • getTimeout

        public Integer getTimeout()
        Getter for timeout.
        Returns:
        the timeout
      • setTimeout

        public void setTimeout​(Integer timeout)
        Setter for timeout.
        Parameters:
        timeout - the timeout
      • isNameMatch

        public boolean isNameMatch​(String taskName)
        Determine if this TaskProperties' name matches the given name.
        Parameters:
        taskName - the name to check
        Returns:
        true if the names match