Class CreateJobExecutionDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • parentKey

        public CreateJobExecutionDetails.Builder parentKey​(String parentKey)
        The unique key of the parent execution or null if this job execution has no parent.
        Parameters:
        parentKey - the value to set
        Returns:
        this builder
      • timeStarted

        public CreateJobExecutionDetails.Builder timeStarted​(Date timeStarted)
        Time that job execution started.

        An RFC3339 formatted datetime string.

        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public CreateJobExecutionDetails.Builder timeEnded​(Date timeEnded)
        Time that the job execution ended or null if it hasn’t yet completed.

        An RFC3339 formatted datetime string.

        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • errorCode

        public CreateJobExecutionDetails.Builder errorCode​(String errorCode)
        Error code returned from the job execution or null if job is still running or didn’t return an error.
        Parameters:
        errorCode - the value to set
        Returns:
        this builder
      • errorMessage

        public CreateJobExecutionDetails.Builder errorMessage​(String errorMessage)
        Error message returned from the job execution or null if job is still running or didn’t return an error.
        Parameters:
        errorMessage - the value to set
        Returns:
        this builder
      • scheduleInstanceKey

        public CreateJobExecutionDetails.Builder scheduleInstanceKey​(String scheduleInstanceKey)
        The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.
        Parameters:
        scheduleInstanceKey - the value to set
        Returns:
        this builder
      • processKey

        public CreateJobExecutionDetails.Builder processKey​(String processKey)
        Process identifier related to the job execution if the job is an external job.
        Parameters:
        processKey - the value to set
        Returns:
        this builder
      • externalUrl

        public CreateJobExecutionDetails.Builder externalUrl​(String externalUrl)
        If the job is an external process, then a URL of the job for accessing this resource and its status.
        Parameters:
        externalUrl - the value to set
        Returns:
        this builder
      • dataEntityKey

        public CreateJobExecutionDetails.Builder dataEntityKey​(String dataEntityKey)
        The key of the associated data entity resource.
        Parameters:
        dataEntityKey - the value to set
        Returns:
        this builder
      • properties

        public CreateJobExecutionDetails.Builder properties​(Map<String,​Map<String,​String>> properties)
        A map of maps that contains the execution context properties which are specific to a job execution.

        Each job execution may define it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most job executions have required properties within the “default” category. Example: {“properties”: { “default”: { “host”: “host1”, “port”: “1521”, “database”: “orcl”}}}

        Parameters:
        properties - the value to set
        Returns:
        this builder