Record Class BundlingOperationDescriptor
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.BundlingOperationDescriptor
- Record Components:
os- the target bundle platformbundleType- the target bundle typeverb- the action to be applied to the target bundle
public record BundlingOperationDescriptor(jdk.internal.util.OperatingSystem os, String bundleType, String verb)
extends Record
Descriptor of a generic bundling operation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBundlingOperationDescriptor(jdk.internal.util.OperatingSystem os, String bundleType) BundlingOperationDescriptor(jdk.internal.util.OperatingSystem os, String bundleType, String verb) Creates an instance of aBundlingOperationDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebundleTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jdk.internal.util.OperatingSystemos()Returns the value of theosrecord component.toString()Returns a string representation of this record class.static BundlingOperationDescriptorverb()Returns the value of theverbrecord component.
-
Field Details
-
VERB_CREATE_BUNDLE
- See Also:
-
-
Constructor Details
-
BundlingOperationDescriptor
public BundlingOperationDescriptor(jdk.internal.util.OperatingSystem os, String bundleType, String verb) Creates an instance of aBundlingOperationDescriptorrecord class.- Parameters:
os- the value for theosrecord componentbundleType- the value for thebundleTyperecord componentverb- the value for theverbrecord component
-
BundlingOperationDescriptor
-
-
Method Details
-
toString
-
valueOf
-
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). -
os
-
bundleType
Returns the value of thebundleTyperecord component.- Returns:
- the value of the
bundleTyperecord component
-
verb
-