Interface JobTemplateChange

All Known Implementing Classes:
JobTemplateChange.RenameJobTemplate, JobTemplateChange.UpdateJobTemplate, JobTemplateChange.UpdateJobTemplateComment

public interface JobTemplateChange
The interface for job template changes. A job template change is an operation that modifies a job template. It can be one of the following:
  • Rename the job template.
  • Update the comment of the job template.
  • Update the job template details, such as executable, arguments, environments, custom fields, etc.
  • Method Details

    • rename

      static JobTemplateChange rename(String newName)
      Creates a new job template change to update the name of the job template.
      Parameters:
      newName - The new name of the job template.
      Returns:
      The job template change.
    • updateComment

      static JobTemplateChange updateComment(String newComment)
      Creates a new job template change to update the comment of the job template.
      Parameters:
      newComment - The new comment of the job template.
      Returns:
      The job template change.
    • updateTemplate

      static JobTemplateChange updateTemplate(JobTemplateChange.TemplateUpdate templateUpdate)
      Creates a new job template change to update the details of the job template.
      Parameters:
      templateUpdate - The job template update details.
      Returns:
      The job template change.