Record Class BulkEffectiveArgumentResponse.NoGoalFailure
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.scheduler.server.http.BulkEffectiveArgumentResponse.NoGoalFailure
- All Implemented Interfaces:
BulkEffectiveArgumentResponse
- Enclosing interface:
BulkEffectiveArgumentResponse
public static record BulkEffectiveArgumentResponse.NoGoalFailure(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId, NoSuchSchedulingGoalException ex)
extends Record
implements BulkEffectiveArgumentResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nasa.jpl.aerie.scheduler.server.http.BulkEffectiveArgumentResponse
BulkEffectiveArgumentResponse.InstantiationFailure, BulkEffectiveArgumentResponse.NoGoalFailure, BulkEffectiveArgumentResponse.ProcedureLoadFailure, BulkEffectiveArgumentResponse.Success, BulkEffectiveArgumentResponse.TypeFailure -
Constructor Summary
ConstructorsConstructorDescriptionNoGoalFailure(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId, NoSuchSchedulingGoalException ex) Creates an instance of aNoGoalFailurerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.ex()Returns the value of theexrecord component.gov.nasa.jpl.aerie.scheduler.model.GoalIdgoalId()Returns the value of thegoalIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NoGoalFailure
public NoGoalFailure(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId, NoSuchSchedulingGoalException ex) Creates an instance of aNoGoalFailurerecord class.- Parameters:
goalId- the value for thegoalIdrecord componentex- the value for theexrecord component
-
-
Method Details
-
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). -
goalId
public gov.nasa.jpl.aerie.scheduler.model.GoalId goalId()Returns the value of thegoalIdrecord component.- Returns:
- the value of the
goalIdrecord component
-
ex
Returns the value of theexrecord component.- Returns:
- the value of the
exrecord component
-