Class HostListNamespaceResolverConfig
- java.lang.Object
-
- io.openlineage.client.dataset.namespace.resolver.HostListNamespaceResolverConfig
-
- All Implemented Interfaces:
DatasetNamespaceResolverConfig
,MergeConfig<HostListNamespaceResolverConfig>
public class HostListNamespaceResolverConfig extends java.lang.Object implements DatasetNamespaceResolverConfig, MergeConfig<HostListNamespaceResolverConfig>
-
-
Constructor Summary
Constructors Constructor Description HostListNamespaceResolverConfig()
HostListNamespaceResolverConfig(@NonNull java.util.List<java.lang.String> hosts, java.lang.String schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.util.List<java.lang.String>
getHosts()
java.lang.String
getSchema()
int
hashCode()
HostListNamespaceResolverConfig
mergeWithNonNull(HostListNamespaceResolverConfig t)
Method to create new config class based on current instance and non-null argument value.void
setHosts(@NonNull java.util.List<java.lang.String> hosts)
void
setSchema(java.lang.String schema)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValue
-
-
-
-
Method Detail
-
mergeWithNonNull
public HostListNamespaceResolverConfig mergeWithNonNull(HostListNamespaceResolverConfig t)
Description copied from interface:MergeConfig
Method to create new config class based on current instance and non-null argument value. In most cases, implementation needs to create a new instance of T, while merging all the properties.- Specified by:
mergeWithNonNull
in interfaceMergeConfig<HostListNamespaceResolverConfig>
- Parameters:
t
- overwrite value- Returns:
- merged config entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getHosts
@NonNull public @NonNull java.util.List<java.lang.String> getHosts()
-
setHosts
public void setHosts(@NonNull @NonNull java.util.List<java.lang.String> hosts)
-
getSchema
public java.lang.String getSchema()
-
setSchema
public void setSchema(java.lang.String schema)
-
-