Package io.quarkus.builder
Record Class Consume
java.lang.Object
java.lang.Record
io.quarkus.builder.Consume
record Consume(BuildStepBuilder buildStepBuilder, ItemId itemId, Constraint constraint, ConsumeFlags flags)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConsume(BuildStepBuilder buildStepBuilder, ItemId itemId, Constraint constraint, ConsumeFlags flags) Creates an instance of aConsumerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildStepBuilderrecord component.(package private) Consumecombine(Constraint constraint, ConsumeFlags flags) Returns the value of theconstraintrecord component.final booleanIndicates whether some other object is "equal to" this one.flags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Consume
Consume(BuildStepBuilder buildStepBuilder, ItemId itemId, Constraint constraint, ConsumeFlags flags) Creates an instance of aConsumerecord class.- Parameters:
buildStepBuilder- the value for thebuildStepBuilderrecord componentitemId- the value for theitemIdrecord componentconstraint- the value for theconstraintrecord componentflags- the value for theflagsrecord component
-
-
Method Details
-
combine
-
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). -
buildStepBuilder
Returns the value of thebuildStepBuilderrecord component.- Returns:
- the value of the
buildStepBuilderrecord component
-
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
constraint
Returns the value of theconstraintrecord component.- Returns:
- the value of the
constraintrecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-