Package org.apache.nifi.util
Record Class MockProcessContext.ValidatedPropertyDependency
java.lang.Object
java.lang.Record
org.apache.nifi.util.MockProcessContext.ValidatedPropertyDependency
- Enclosing class:
MockProcessContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.nifi.components.PropertyDependencyThe field for thedependencyrecord component.private final StringThe field for thevaluerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionValidatedPropertyDependency(org.apache.nifi.components.PropertyDependency dependency, String value) Creates an instance of aValidatedPropertyDependencyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.nifi.components.PropertyDependencyReturns the value of thedependencyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleantoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
dependency
private final org.apache.nifi.components.PropertyDependency dependencyThe field for thedependencyrecord component. -
value
The field for thevaluerecord component.
-
-
Constructor Details
-
ValidatedPropertyDependency
ValidatedPropertyDependency(org.apache.nifi.components.PropertyDependency dependency, String value) Creates an instance of aValidatedPropertyDependencyrecord class.- Parameters:
dependency- the value for thedependencyrecord componentvalue- the value for thevaluerecord component
-
-
Method Details
-
isSatisfied
public boolean isSatisfied() -
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). -
dependency
public org.apache.nifi.components.PropertyDependency dependency()Returns the value of thedependencyrecord component.- Returns:
- the value of the
dependencyrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-