Class JobParameters

java.lang.Object
io.github.douira.glsl_transformer.transform.JobParameters
Direct Known Subclasses:
FixedWrappedParameters, NonFixedJobParameters

public abstract class JobParameters extends Object
All job parameters have to extend this job parameter base class. It enforces an equals and hashCode method in order to allow the "fixed" part job parameters to be used in a map. If no part of the job parameters is fixed, the class NonFixedJobParameters can be used instead.
  • Constructor Details

    • JobParameters

      public JobParameters()
  • Method Details

    • equals

      public abstract boolean equals(JobParameters other)
      Requires the implementation of the equals method.
      Parameters:
      other - The other job parameters to compare to
      Returns:
      true if the fixed parts of the two job parameters are equal
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Requires the implementation of the hashCode method.
      Overrides:
      hashCode in class Object