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
Modifier and TypeClassDescriptionstatic final record
static class
-
Constructor Summary
ConstructorDescriptionConnectionConfig
(String name, String version, DatasetConfig dataset, URI endpoint, ConnectionConfig.Authentication authentication, URI updateEndpoint, ConnectionConfig.Authentication updateAuthentication) Creates an instance of aConnectionConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthentication
record component.dataset()
Returns the value of thedataset
record component.endpoint()
Returns the value of theendpoint
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theupdateAuthentication
record component.Returns the value of theupdateEndpoint
record component.version()
Returns the value of theversion
record 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 aConnectionConfig
record class.- Parameters:
name
- the value for thename
record componentversion
- the value for theversion
record componentdataset
- the value for thedataset
record componentendpoint
- the value for theendpoint
record componentauthentication
- the value for theauthentication
record componentupdateEndpoint
- the value for theupdateEndpoint
record componentupdateAuthentication
- the value for theupdateAuthentication
record 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 thename
record component.- Returns:
- the value of the
name
record component
-
version
Returns the value of theversion
record component.- Returns:
- the value of the
version
record component
-
dataset
Returns the value of thedataset
record component.- Returns:
- the value of the
dataset
record component
-
endpoint
Returns the value of theendpoint
record component.- Returns:
- the value of the
endpoint
record component
-
authentication
Returns the value of theauthentication
record component.- Returns:
- the value of the
authentication
record component
-
updateEndpoint
Returns the value of theupdateEndpoint
record component.- Returns:
- the value of the
updateEndpoint
record component
-
updateAuthentication
Returns the value of theupdateAuthentication
record component.- Returns:
- the value of the
updateAuthentication
record component
-