Record Class ScheduledUndeployment
java.lang.Object
java.lang.Record
de.seitenbau.serviceportal.prozesspipeline.model.ScheduledUndeployment
-
Constructor Summary
ConstructorsConstructorDescriptionScheduledUndeployment(String deploymentId, LocalDate undeploymentDate, Message undeploymentAnnounceMessage, Message undeploymentMessage, UndeploymentHint hint) Creates an instance of aScheduledUndeploymentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeploymentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hint()Returns the value of thehintrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theundeploymentAnnounceMessagerecord component.Returns the value of theundeploymentDaterecord component.Returns the value of theundeploymentMessagerecord component.
-
Constructor Details
-
ScheduledUndeployment
public ScheduledUndeployment(String deploymentId, LocalDate undeploymentDate, Message undeploymentAnnounceMessage, Message undeploymentMessage, UndeploymentHint hint) Creates an instance of aScheduledUndeploymentrecord class.- Parameters:
deploymentId- the value for thedeploymentIdrecord componentundeploymentDate- the value for theundeploymentDaterecord componentundeploymentAnnounceMessage- the value for theundeploymentAnnounceMessagerecord componentundeploymentMessage- the value for theundeploymentMessagerecord componenthint- the value for thehintrecord 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). -
deploymentId
Returns the value of thedeploymentIdrecord component.- Returns:
- the value of the
deploymentIdrecord component
-
undeploymentDate
Returns the value of theundeploymentDaterecord component.- Returns:
- the value of the
undeploymentDaterecord component
-
undeploymentAnnounceMessage
Returns the value of theundeploymentAnnounceMessagerecord component.- Returns:
- the value of the
undeploymentAnnounceMessagerecord component
-
undeploymentMessage
Returns the value of theundeploymentMessagerecord component.- Returns:
- the value of the
undeploymentMessagerecord component
-
hint
Returns the value of thehintrecord component.- Returns:
- the value of the
hintrecord component
-