Class JobTemplateChange.TemplateUpdate

java.lang.Object
org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
Direct Known Subclasses:
JobTemplateChange.ShellTemplateUpdate, JobTemplateChange.SparkTemplateUpdate
Enclosing interface:
JobTemplateChange

public abstract static class JobTemplateChange.TemplateUpdate extends Object
Base class for template updates.
  • Constructor Details

  • Method Details

    • getNewExecutable

      public String getNewExecutable()
      Get the new executable of the job template.
      Returns:
      The new executable of the job template.
    • getNewArguments

      public List<String> getNewArguments()
      Get the new arguments of the job template.
      Returns:
      The new arguments of the job template.
    • getNewEnvironments

      public Map<String,String> getNewEnvironments()
      Get the new environments of the job template.
      Returns:
      The new environments of the job template.
    • getNewCustomFields

      public Map<String,String> getNewCustomFields()
      Get the new custom fields of the job template.
      Returns:
      The new custom fields of the job template.
    • equals

      public boolean equals(Object o)
      Checks if this TemplateUpdate is equal to another object.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with.
      Returns:
      true if the objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this TemplateUpdate.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code.