Class JobTemplateChange.ShellTemplateUpdate

java.lang.Object
org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
org.apache.gravitino.job.JobTemplateChange.ShellTemplateUpdate
Enclosing interface:
JobTemplateChange

public static final class JobTemplateChange.ShellTemplateUpdate extends JobTemplateChange.TemplateUpdate
A job template update for shell templates.
  • Method Details

    • getNewScripts

      public List<String> getNewScripts()
      Get the new scripts of the shell job template.
      Returns:
      The new scripts of the shell job template.
    • equals

      public boolean equals(Object o)
      Checks if this ShellTemplateUpdate is equal to another object.
      Overrides:
      equals in class JobTemplateChange.TemplateUpdate
      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 ShellTemplateUpdate.
      Overrides:
      hashCode in class JobTemplateChange.TemplateUpdate
      Returns:
      The hash code.
    • builder

      Creates a new builder for ShellTemplateUpdate.
      Returns:
      A new Builder instance.