Record Class MFlatpakPermission
java.lang.Object
java.lang.Record
com.io7m.montarre.api.MFlatpakPermission
- Record Components:
permission- The permission string (such as "--allow=bluetooth")
- All Implemented Interfaces:
MFlatpakMetadataElementType
public record MFlatpakPermission(String permission)
extends Record
implements MFlatpakMetadataElementType
A flatpak permission.
- See Also:
-
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.Returns the value of thepermissionrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
MFlatpakPermission
A flatpak permission.- Parameters:
permission- The permission string (such as "--allow=bluetooth")- See Also:
-
-
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). -
permission
Returns the value of thepermissionrecord component.- Returns:
- the value of the
permissionrecord component
-