Class JobMonitorInputData


  • public class JobMonitorInputData
    extends Object
    Parameters for MonitorJobs "waitFor..." API input data
    Version:
    4.0
    Author:
    Frank Giordano
    • Method Detail

      • getAttempts

        public OptionalInt getAttempts()
        Retrieve attempts
        Returns:
        attempts value
      • setAttempts

        public void setAttempts​(int attempts)
        Assign attempts
        Parameters:
        attempts - number of attempts to get status
      • getJobId

        public Optional<String> getJobId()
        Retrieve job id
        Returns:
        jobId value
      • getJobName

        public Optional<String> getJobName()
        Retrieve job name
        Returns:
        jobName value
      • setJobStatus

        public void setJobStatus​(JobStatus.Type jobStatus)
        Assign job status
        Parameters:
        jobStatus - job status type, see JobStatus.Type object
      • getLineLimit

        public OptionalInt getLineLimit()
        Retrieve line limit
        Returns:
        lineLimit value
      • setLineLimit

        public void setLineLimit​(int lineLimit)
        Assign line limit
        Parameters:
        lineLimit - number of lines to inspect
      • getWatchDelay

        public OptionalInt getWatchDelay()
        Retrieve watch delay
        Returns:
        watchDelay value
      • setWatchDelay

        public void setWatchDelay​(int watchDelay)
        Assign watch delay
        Parameters:
        watchDelay - delay of polling operation in milliseconds
      • toString

        public String toString()
        Return string value representing JobMonitorInputData object
        Overrides:
        toString in class Object
        Returns:
        string representation of JobMonitorInputData