Record Class JTestCondition.Status
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.test.JTestCondition.Status
- All Implemented Interfaces:
JTestCondition
- Enclosing interface:
JTestCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jypestub.model.test.JTestCondition
JTestCondition.Branch, JTestCondition.Constraint, JTestCondition.InferConstraint, JTestCondition.Instantiation, JTestCondition.InstantiationConstraint, JTestCondition.Op, JTestCondition.Result, JTestCondition.Status, JTestCondition.ThrowsConstraint, JTestCondition.Wrapper -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface honeyroasted.jypestub.model.test.JTestCondition
SUBTYPE_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanstatus()Returns the value of thestatusrecord component.test(honeyroasted.jype.system.JTypeSystem system, honeyroasted.almonds.ConstraintTree tree) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SERIALIZER
-
DESERIALIZER
-
-
Constructor Details
-
Status
public Status(boolean status) Creates an instance of aStatusrecord class.- Parameters:
status- the value for thestatusrecord component
-
-
Method Details
-
test
public JTestCondition.Result test(honeyroasted.jype.system.JTypeSystem system, honeyroasted.almonds.ConstraintTree tree) - Specified by:
testin interfaceJTestCondition
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
status
public boolean status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-