Package org.apache.gravitino.job
Class JobTemplateChange.TemplateUpdate
java.lang.Object
org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
- Direct Known Subclasses:
JobTemplateChange.ShellTemplateUpdate,JobTemplateChange.SparkTemplateUpdate
- Enclosing interface:
- JobTemplateChange
Base class for template updates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classJobTemplateChange.TemplateUpdate.BaseBuilder<B extends JobTemplateChange.TemplateUpdate.BaseBuilder<B,P>, P extends JobTemplateChange.TemplateUpdate> Base builder class for constructing TemplateUpdate instances. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTemplateUpdate(JobTemplateChange.TemplateUpdate.BaseBuilder<?, ?> builder) Constructor for TemplateUpdate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this TemplateUpdate is equal to another object.Get the new arguments of the job template.Get the new custom fields of the job template.Get the new environments of the job template.Get the new executable of the job template.inthashCode()Generates a hash code for this TemplateUpdate.
-
Constructor Details
-
TemplateUpdate
Constructor for TemplateUpdate.- Parameters:
builder- The builder to construct the TemplateUpdate.
-
-
Method Details
-
getNewExecutable
Get the new executable of the job template.- Returns:
- The new executable of the job template.
-
getNewArguments
Get the new arguments of the job template.- Returns:
- The new arguments of the job template.
-
getNewEnvironments
Get the new environments of the job template.- Returns:
- The new environments of the job template.
-
getNewCustomFields
Get the new custom fields of the job template.- Returns:
- The new custom fields of the job template.
-
equals
Checks if this TemplateUpdate is equal to another object. -
hashCode
public int hashCode()Generates a hash code for this TemplateUpdate.
-