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 aProtocolGenConfig
record 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 theclientPackage
record component.Returns the value of thecustomProtocol
record component.element()
Returns the value of theelement
record component.final boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of thegenerateClient
record component.boolean
Returns the value of thegenerateServer
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepackageElement
record component.Returns the value of theprotocolFile
record component.Returns the value of theserverPackage
record component.Returns the value of thesharedPackage
record component.toString()
Returns a string representation of this record class.boolean
Returns the value of thevalidateDtd
record 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 aProtocolGenConfig
record class.- Parameters:
sharedPackage
- the value for thesharedPackage
record componentclientPackage
- the value for theclientPackage
record componentserverPackage
- the value for theserverPackage
record componentgenerateClient
- the value for thegenerateClient
record componentgenerateServer
- the value for thegenerateServer
record componentvalidateDtd
- the value for thevalidateDtd
record componentelement
- the value for theelement
record componentpackageElement
- the value for thepackageElement
record componentprotocolFile
- the value for theprotocolFile
record componentcustomProtocol
- the value for thecustomProtocol
record 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 theclientPackage
record component.- Returns:
- the value of the
clientPackage
record component
-
serverPackage
Returns the value of theserverPackage
record component.- Returns:
- the value of the
serverPackage
record component
-
generateClient
public boolean generateClient()Returns the value of thegenerateClient
record component.- Returns:
- the value of the
generateClient
record component
-
generateServer
public boolean generateServer()Returns the value of thegenerateServer
record component.- Returns:
- the value of the
generateServer
record component
-
validateDtd
public boolean validateDtd()Returns the value of thevalidateDtd
record component.- Returns:
- the value of the
validateDtd
record component
-
element
Returns the value of theelement
record component.- Returns:
- the value of the
element
record component
-
packageElement
Returns the value of thepackageElement
record component.- Returns:
- the value of the
packageElement
record component
-
protocolFile
Returns the value of theprotocolFile
record component.- Returns:
- the value of the
protocolFile
record component
-
customProtocol
Returns the value of thecustomProtocol
record component.- Returns:
- the value of the
customProtocol
record component
-