Record Class ConnectionConfig
java.lang.Object
java.lang.Record
org.aksw.iguana.cc.config.elements.ConnectionConfig
public record ConnectionConfig(String name, String version, DatasetConfig dataset, URI endpoint, ConnectionConfig.Authentication authentication, URI updateEndpoint, ConnectionConfig.Authentication updateAuthentication)
extends Record
A connection configuration class
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConnectionConfig(String name, String version, DatasetConfig dataset, URI endpoint, ConnectionConfig.Authentication authentication, URI updateEndpoint, ConnectionConfig.Authentication updateAuthentication) Creates an instance of aConnectionConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthenticationrecord component.dataset()Returns the value of thedatasetrecord component.endpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdateAuthenticationrecord component.Returns the value of theupdateEndpointrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ConnectionConfig
public ConnectionConfig(String name, String version, DatasetConfig dataset, URI endpoint, ConnectionConfig.Authentication authentication, URI updateEndpoint, ConnectionConfig.Authentication updateAuthentication) Creates an instance of aConnectionConfigrecord class.- Parameters:
name- the value for thenamerecord componentversion- the value for theversionrecord componentdataset- the value for thedatasetrecord componentendpoint- the value for theendpointrecord componentauthentication- the value for theauthenticationrecord componentupdateEndpoint- the value for theupdateEndpointrecord componentupdateAuthentication- the value for theupdateAuthenticationrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
dataset
Returns the value of thedatasetrecord component.- Returns:
- the value of the
datasetrecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
authentication
Returns the value of theauthenticationrecord component.- Returns:
- the value of the
authenticationrecord component
-
updateEndpoint
Returns the value of theupdateEndpointrecord component.- Returns:
- the value of the
updateEndpointrecord component
-
updateAuthentication
Returns the value of theupdateAuthenticationrecord component.- Returns:
- the value of the
updateAuthenticationrecord component
-