@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutablePlugin extends Object implements Plugin
Plugin.
Use the builder to create immutable instances:
ImmutablePlugin.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutablePlugin.Builder
Builds instances of type
ImmutablePlugin. |
Plugin.ConfigProvider, Plugin.ConfigProviderExample, Plugin.ConfigProviderExampleInput, Plugin.Configurable, Plugin.Configuration, Plugin.Connector, Plugin.ConnectorExample, Plugin.Converter, Plugin.ConverterExample, Plugin.ConverterExampleInput, Plugin.Example, Plugin.ExampleInput<T extends Plugin.Example>, Plugin.Group, Plugin.Item, Plugin.SchemaInput, Plugin.SinkConnector, Plugin.SinkConnectorExample, Plugin.SinkConnectorExampleInput, Plugin.SourceConnector, Plugin.SourceConnectorExample, Plugin.SourceConnectorExampleInput, Plugin.Transformation, Plugin.TransformationExample, Plugin.TransformationExampleInputNotes.Section| Modifier and Type | Method and Description |
|---|---|
static ImmutablePlugin.Builder |
builder()
Creates a builder for
ImmutablePlugin. |
static ImmutablePlugin |
copyOf(Plugin instance)
Creates an immutable copy of a
Plugin value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutablePlugin that have equal attribute values. |
com.google.common.collect.ImmutableList<Plugin.ConfigProvider> |
getConfigProviders() |
com.google.common.collect.ImmutableList<Plugin.Converter> |
getConverters() |
String |
getDanger() |
String |
getDescription() |
String |
getIcon() |
String |
getImportant() |
String |
getIntroduction() |
String |
getNote() |
String |
getPluginName() |
String |
getPluginOwner() |
com.google.common.collect.ImmutableList<Notes.Section> |
getSections() |
com.google.common.collect.ImmutableList<Plugin.SinkConnector> |
getSinkConnectors() |
com.google.common.collect.ImmutableList<Plugin.SourceConnector> |
getSourceConnectors() |
String |
getTip() |
String |
getTitle() |
com.google.common.collect.ImmutableList<Plugin.Transformation> |
getTransformations() |
String |
getWarning() |
int |
hashCode()
Computes a hash code from attributes:
warning, tip, important, danger, note, title, description, icon, sections, introduction, pluginName, pluginOwner, transformations, sinkConnectors, sourceConnectors, converters, configProviders. |
String |
toString()
Prints the immutable value
Plugin with attribute values. |
ImmutablePlugin |
withConfigProviders(Iterable<? extends Plugin.ConfigProvider> elements)
Copy the current immutable object with elements that replace the content of
configProviders. |
ImmutablePlugin |
withConfigProviders(Plugin.ConfigProvider... elements)
Copy the current immutable object with elements that replace the content of
configProviders. |
ImmutablePlugin |
withConverters(Iterable<? extends Plugin.Converter> elements)
Copy the current immutable object with elements that replace the content of
converters. |
ImmutablePlugin |
withConverters(Plugin.Converter... elements)
Copy the current immutable object with elements that replace the content of
converters. |
ImmutablePlugin |
withDanger(String value)
Copy the current immutable object by setting a value for the
danger attribute. |
ImmutablePlugin |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutablePlugin |
withIcon(String value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutablePlugin |
withImportant(String value)
Copy the current immutable object by setting a value for the
important attribute. |
ImmutablePlugin |
withIntroduction(String value)
Copy the current immutable object by setting a value for the
introduction attribute. |
ImmutablePlugin |
withNote(String value)
Copy the current immutable object by setting a value for the
note attribute. |
ImmutablePlugin |
withPluginName(String value)
Copy the current immutable object by setting a value for the
pluginName attribute. |
ImmutablePlugin |
withPluginOwner(String value)
Copy the current immutable object by setting a value for the
pluginOwner attribute. |
ImmutablePlugin |
withSections(Iterable<? extends Notes.Section> elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutablePlugin |
withSections(Notes.Section... elements)
Copy the current immutable object with elements that replace the content of
sections. |
ImmutablePlugin |
withSinkConnectors(Iterable<? extends Plugin.SinkConnector> elements)
Copy the current immutable object with elements that replace the content of
sinkConnectors. |
ImmutablePlugin |
withSinkConnectors(Plugin.SinkConnector... elements)
Copy the current immutable object with elements that replace the content of
sinkConnectors. |
ImmutablePlugin |
withSourceConnectors(Iterable<? extends Plugin.SourceConnector> elements)
Copy the current immutable object with elements that replace the content of
sourceConnectors. |
ImmutablePlugin |
withSourceConnectors(Plugin.SourceConnector... elements)
Copy the current immutable object with elements that replace the content of
sourceConnectors. |
ImmutablePlugin |
withTip(String value)
Copy the current immutable object by setting a value for the
tip attribute. |
ImmutablePlugin |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
ImmutablePlugin |
withTransformations(Iterable<? extends Plugin.Transformation> elements)
Copy the current immutable object with elements that replace the content of
transformations. |
ImmutablePlugin |
withTransformations(Plugin.Transformation... elements)
Copy the current immutable object with elements that replace the content of
transformations. |
ImmutablePlugin |
withWarning(String value)
Copy the current immutable object by setting a value for the
warning attribute. |
@Nullable public String getWarning()
getWarning in interface Noteswarning attribute@Nullable public String getImportant()
getImportant in interface Notesimportant attribute@Nullable public String getDescription()
getDescription in interface Notesdescription attribute@Nullable public com.google.common.collect.ImmutableList<Notes.Section> getSections()
getSections in interface Notessections attributepublic String getIntroduction()
getIntroduction in interface NotesgetIntroduction in interface Pluginintroduction attributepublic String getPluginName()
getPluginName in interface PluginpluginName attributepublic String getPluginOwner()
getPluginOwner in interface PluginpluginOwner attributepublic com.google.common.collect.ImmutableList<Plugin.Transformation> getTransformations()
getTransformations in interface Plugintransformations attributepublic com.google.common.collect.ImmutableList<Plugin.SinkConnector> getSinkConnectors()
getSinkConnectors in interface PluginsinkConnectors attributepublic com.google.common.collect.ImmutableList<Plugin.SourceConnector> getSourceConnectors()
getSourceConnectors in interface PluginsourceConnectors attributepublic com.google.common.collect.ImmutableList<Plugin.Converter> getConverters()
getConverters in interface Pluginconverters attributepublic com.google.common.collect.ImmutableList<Plugin.ConfigProvider> getConfigProviders()
getConfigProviders in interface PluginconfigProviders attributepublic final ImmutablePlugin withWarning(@Nullable String value)
warning attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for warning (can be null)this objectpublic final ImmutablePlugin withTip(@Nullable String value)
tip attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for tip (can be null)this objectpublic final ImmutablePlugin withImportant(@Nullable String value)
important attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for important (can be null)this objectpublic final ImmutablePlugin withDanger(@Nullable String value)
danger attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for danger (can be null)this objectpublic final ImmutablePlugin withNote(@Nullable String value)
note attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for note (can be null)this objectpublic final ImmutablePlugin withTitle(@Nullable String value)
title attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for title (can be null)this objectpublic final ImmutablePlugin withDescription(@Nullable String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for description (can be null)this objectpublic final ImmutablePlugin withIcon(@Nullable String value)
icon attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for icon (can be null)this objectpublic final ImmutablePlugin withSections(@Nullable Notes.Section... elements)
sections.elements - The elements to setthis objectpublic final ImmutablePlugin withSections(@Nullable Iterable<? extends Notes.Section> elements)
sections.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of sections elements to setthis objectpublic final ImmutablePlugin withIntroduction(String value)
introduction attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for introductionthis objectpublic final ImmutablePlugin withPluginName(String value)
pluginName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for pluginNamethis objectpublic final ImmutablePlugin withPluginOwner(String value)
pluginOwner attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for pluginOwnerthis objectpublic final ImmutablePlugin withTransformations(Plugin.Transformation... elements)
transformations.elements - The elements to setthis objectpublic final ImmutablePlugin withTransformations(Iterable<? extends Plugin.Transformation> elements)
transformations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of transformations elements to setthis objectpublic final ImmutablePlugin withSinkConnectors(Plugin.SinkConnector... elements)
sinkConnectors.elements - The elements to setthis objectpublic final ImmutablePlugin withSinkConnectors(Iterable<? extends Plugin.SinkConnector> elements)
sinkConnectors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of sinkConnectors elements to setthis objectpublic final ImmutablePlugin withSourceConnectors(Plugin.SourceConnector... elements)
sourceConnectors.elements - The elements to setthis objectpublic final ImmutablePlugin withSourceConnectors(Iterable<? extends Plugin.SourceConnector> elements)
sourceConnectors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of sourceConnectors elements to setthis objectpublic final ImmutablePlugin withConverters(Plugin.Converter... elements)
converters.elements - The elements to setthis objectpublic final ImmutablePlugin withConverters(Iterable<? extends Plugin.Converter> elements)
converters.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of converters elements to setthis objectpublic final ImmutablePlugin withConfigProviders(Plugin.ConfigProvider... elements)
configProviders.elements - The elements to setthis objectpublic final ImmutablePlugin withConfigProviders(Iterable<? extends Plugin.ConfigProvider> elements)
configProviders.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of configProviders elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutablePlugin that have equal attribute values.public int hashCode()
warning, tip, important, danger, note, title, description, icon, sections, introduction, pluginName, pluginOwner, transformations, sinkConnectors, sourceConnectors, converters, configProviders.public String toString()
Plugin with attribute values.public static ImmutablePlugin copyOf(Plugin instance)
Plugin value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutablePlugin.Builder builder()
ImmutablePlugin.
ImmutablePlugin.builder()
.warning(String | null) // nullable warning
.tip(String | null) // nullable tip
.important(String | null) // nullable important
.danger(String | null) // nullable danger
.note(String | null) // nullable note
.title(String | null) // nullable title
.description(String | null) // nullable description
.icon(String | null) // nullable icon
.sections(List<com.github.jcustenborder.kafka.connect.utils.templates.Notes.Section> | null) // nullable sections
.introduction(String) // required introduction
.pluginName(String) // required pluginName
.pluginOwner(String) // required pluginOwner
.addTransformations|addAllTransformations(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.Transformation) // transformations elements
.addSinkConnectors|addAllSinkConnectors(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.SinkConnector) // sinkConnectors elements
.addSourceConnectors|addAllSourceConnectors(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.SourceConnector) // sourceConnectors elements
.addConverters|addAllConverters(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.Converter) // converters elements
.addConfigProviders|addAllConfigProviders(com.github.jcustenborder.kafka.connect.utils.templates.Plugin.ConfigProvider) // configProviders elements
.build();
Copyright © 2016–2025. All rights reserved.