Record Class CATypePackageUninstall
java.lang.Object
java.lang.Record
com.io7m.cardant.model.type_package.CATypePackageUninstall
- Record Components:
typeRemovalBehavior- The type removal behaviorpackageIdentifier- The package identifier
public record CATypePackageUninstall(CATypePackageTypeRemovalBehavior typeRemovalBehavior, CATypePackageIdentifier packageIdentifier)
extends Record
The parameters required to uninstall a type package.
-
Constructor Summary
ConstructorsConstructorDescriptionCATypePackageUninstall(CATypePackageTypeRemovalBehavior typeRemovalBehavior, CATypePackageIdentifier packageIdentifier) The parameters required to uninstall a type package. -
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.Returns the value of thepackageIdentifierrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeRemovalBehaviorrecord component.
-
Constructor Details
-
CATypePackageUninstall
public CATypePackageUninstall(CATypePackageTypeRemovalBehavior typeRemovalBehavior, CATypePackageIdentifier packageIdentifier) The parameters required to uninstall a type package.- Parameters:
typeRemovalBehavior- The type removal behaviorpackageIdentifier- The package identifier
-
-
Method Details
-
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 withObjects::equals(Object,Object). -
typeRemovalBehavior
Returns the value of thetypeRemovalBehaviorrecord component.- Returns:
- the value of the
typeRemovalBehaviorrecord component
-
packageIdentifier
Returns the value of thepackageIdentifierrecord component.- Returns:
- the value of the
packageIdentifierrecord component
-