Package org.mapfish.print.processor
Record Class ProcessorDependency
java.lang.Object
java.lang.Record
org.mapfish.print.processor.ProcessorDependency
- Record Components:
required
- The processor which is required to be executed before the other.dependent
- The processor which requires the other to be executed first.commonInputs
- The dependency is only enforced if the two processors have these inputs in common.
public record ProcessorDependency(Class<? extends Processor<?,?>> required, Class<? extends Processor<?,?>> dependent, Set<String> commonInputs)
extends Record
Models a dependency between two processors. The processor
dependent
requires the
processor required
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe inputs that both processors must have in common.Returns the processor which requires the other to be executed first.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.required()
Returns the processor which is required to be executed before the other.toString()
Returns a string representation of this record class.
-
Constructor Details
-
ProcessorDependency
public ProcessorDependency(Class<? extends Processor<?, ?>> required, Class<? extends Processor<?, ?>> dependent, Set<String> commonInputs) Constructor. The processordependent
requires the processorrequired
. -
ProcessorDependency
public ProcessorDependency(Class<? extends Processor<?, ?>> required, Class<? extends Processor<?, ?>> dependent) Constructor. The processordependent
requires the processorrequired
.- Parameters:
required
- The processor which is required to be executed before the other.dependent
- The processor which requires the other to be executed first.
-
-
Method Details
-
required
Returns the processor which is required to be executed before the other. -
dependent
Returns the processor which requires the other to be executed first. -
commonInputs
The inputs that both processors must have in common. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
.
-