Record Class ProtocolGenConfig
java.lang.Object
java.lang.Record
org.freedesktop.wayland.generator.impl.ProtocolGenConfig
public record ProtocolGenConfig(String sharedPackage, String clientPackage, String serverPackage, boolean generateClient, boolean generateServer, boolean validateDtd, Element element, PackageElement packageElement, File protocolFile, WaylandCustomProtocol customProtocol)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProtocolGenConfig(String sharedPackage, String clientPackage, String serverPackage, boolean generateClient, boolean generateServer, boolean validateDtd, Element element, PackageElement packageElement, File protocolFile, WaylandCustomProtocol customProtocol) Creates an instance of aProtocolGenConfigrecord class.ProtocolGenConfig(WaylandCoreProtocols protocol, Element element, PackageElement packageElement, File protocolFile) ProtocolGenConfig(WaylandCustomProtocol protocol, Element element, PackageElement packageElement, File protocolFile) ProtocolGenConfig(WaylandProtocols protocol, Element element, PackageElement packageElement, File protocolFile) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientPackagerecord component.Returns the value of thecustomProtocolrecord component.element()Returns the value of theelementrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thegenerateClientrecord component.booleanReturns the value of thegenerateServerrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepackageElementrecord component.Returns the value of theprotocolFilerecord component.Returns the value of theserverPackagerecord component.Returns the value of thesharedPackagerecord component.toString()Returns a string representation of this record class.booleanReturns the value of thevalidateDtdrecord component.
-
Constructor Details
-
ProtocolGenConfig
public ProtocolGenConfig(WaylandCustomProtocol protocol, Element element, PackageElement packageElement, File protocolFile) -
ProtocolGenConfig
public ProtocolGenConfig(WaylandCoreProtocols protocol, Element element, PackageElement packageElement, File protocolFile) -
ProtocolGenConfig
public ProtocolGenConfig(WaylandProtocols protocol, Element element, PackageElement packageElement, File protocolFile) -
ProtocolGenConfig
public ProtocolGenConfig(String sharedPackage, String clientPackage, String serverPackage, boolean generateClient, boolean generateServer, boolean validateDtd, Element element, PackageElement packageElement, File protocolFile, WaylandCustomProtocol customProtocol) Creates an instance of aProtocolGenConfigrecord class.- Parameters:
sharedPackage- the value for thesharedPackagerecord componentclientPackage- the value for theclientPackagerecord componentserverPackage- the value for theserverPackagerecord componentgenerateClient- the value for thegenerateClientrecord componentgenerateServer- the value for thegenerateServerrecord componentvalidateDtd- the value for thevalidateDtdrecord componentelement- the value for theelementrecord componentpackageElement- the value for thepackageElementrecord componentprotocolFile- the value for theprotocolFilerecord componentcustomProtocol- the value for thecustomProtocolrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
clientPackage
Returns the value of theclientPackagerecord component.- Returns:
- the value of the
clientPackagerecord component
-
serverPackage
Returns the value of theserverPackagerecord component.- Returns:
- the value of the
serverPackagerecord component
-
generateClient
public boolean generateClient()Returns the value of thegenerateClientrecord component.- Returns:
- the value of the
generateClientrecord component
-
generateServer
public boolean generateServer()Returns the value of thegenerateServerrecord component.- Returns:
- the value of the
generateServerrecord component
-
validateDtd
public boolean validateDtd()Returns the value of thevalidateDtdrecord component.- Returns:
- the value of the
validateDtdrecord component
-
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-
packageElement
Returns the value of thepackageElementrecord component.- Returns:
- the value of the
packageElementrecord component
-
protocolFile
Returns the value of theprotocolFilerecord component.- Returns:
- the value of the
protocolFilerecord component
-
customProtocol
Returns the value of thecustomProtocolrecord component.- Returns:
- the value of the
customProtocolrecord component
-