@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableAllConfig extends AllConfig
AllConfig.
Use the builder to create immutable instances:
ImmutableAllConfig.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAllConfig.Builder
Builds instances of type
ImmutableAllConfig. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAllConfig.Builder |
builder()
Creates a builder for
ImmutableAllConfig. |
static ImmutableAllConfig |
copyOf(AllConfig instance)
Creates an immutable copy of a
AllConfig value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAllConfig that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
transaction, jvm, uiDefaults, advanced, gauges, syntheticMonitors, alerts, plugins, instrumentation. |
String |
toString()
Prints the immutable value
AllConfig with attribute values. |
ImmutableAllConfig |
withAdvanced(AdvancedConfig value)
Copy the current immutable object by setting a value for the
advanced attribute. |
ImmutableAllConfig |
withAlerts(AlertConfig... elements)
Copy the current immutable object with elements that replace the content of
alerts. |
ImmutableAllConfig |
withAlerts(Iterable<? extends AlertConfig> elements)
Copy the current immutable object with elements that replace the content of
alerts. |
ImmutableAllConfig |
withGauges(GaugeConfig... elements)
Copy the current immutable object with elements that replace the content of
gauges. |
ImmutableAllConfig |
withGauges(Iterable<? extends GaugeConfig> elements)
Copy the current immutable object with elements that replace the content of
gauges. |
ImmutableAllConfig |
withInstrumentation(InstrumentationConfig... elements)
Copy the current immutable object with elements that replace the content of
instrumentation. |
ImmutableAllConfig |
withInstrumentation(Iterable<? extends InstrumentationConfig> elements)
Copy the current immutable object with elements that replace the content of
instrumentation. |
ImmutableAllConfig |
withJvm(JvmConfig value)
Copy the current immutable object by setting a value for the
jvm attribute. |
ImmutableAllConfig |
withPlugins(Iterable<? extends PluginConfig> elements)
Copy the current immutable object with elements that replace the content of
plugins. |
ImmutableAllConfig |
withPlugins(PluginConfig... elements)
Copy the current immutable object with elements that replace the content of
plugins. |
ImmutableAllConfig |
withSyntheticMonitors(Iterable<? extends SyntheticMonitorConfig> elements)
Copy the current immutable object with elements that replace the content of
syntheticMonitors. |
ImmutableAllConfig |
withSyntheticMonitors(SyntheticMonitorConfig... elements)
Copy the current immutable object with elements that replace the content of
syntheticMonitors. |
ImmutableAllConfig |
withTransaction(TransactionConfig value)
Copy the current immutable object by setting a value for the
transaction attribute. |
ImmutableAllConfig |
withUiDefaults(UiDefaultsConfig value)
Copy the current immutable object by setting a value for the
uiDefaults attribute. |
public static ImmutableAllConfig.Builder builder()
ImmutableAllConfig.
ImmutableAllConfig.builder()
.transaction(org.glowroot.common.config.TransactionConfig) // required transaction
.jvm(org.glowroot.common.config.JvmConfig) // required jvm
.uiDefaults(org.glowroot.common.config.UiDefaultsConfig) // required uiDefaults
.advanced(org.glowroot.common.config.AdvancedConfig) // required advanced
.addGauges|addAllGauges(org.glowroot.common.config.GaugeConfig) // gauges elements
.addSyntheticMonitors|addAllSyntheticMonitors(org.glowroot.common.config.SyntheticMonitorConfig) // syntheticMonitors elements
.addAlerts|addAllAlerts(org.glowroot.common.config.AlertConfig) // alerts elements
.addPlugins|addAllPlugins(org.glowroot.agent.config.PluginConfig) // plugins elements
.addInstrumentation|addAllInstrumentation(org.glowroot.common.config.InstrumentationConfig) // instrumentation elements
.build();
public static ImmutableAllConfig copyOf(AllConfig instance)
AllConfig 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 boolean equals(@Nullable Object another)
ImmutableAllConfig that have equal attribute values.public int hashCode()
transaction, jvm, uiDefaults, advanced, gauges, syntheticMonitors, alerts, plugins, instrumentation.public String toString()
AllConfig with attribute values.public final ImmutableAllConfig withAdvanced(AdvancedConfig value)
advanced attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for advancedthis objectpublic final ImmutableAllConfig withAlerts(AlertConfig... elements)
alerts.elements - The elements to setthis objectpublic final ImmutableAllConfig withAlerts(Iterable<? extends AlertConfig> elements)
alerts.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of alerts elements to setthis objectpublic final ImmutableAllConfig withGauges(GaugeConfig... elements)
gauges.elements - The elements to setthis objectpublic final ImmutableAllConfig withGauges(Iterable<? extends GaugeConfig> elements)
gauges.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of gauges elements to setthis objectpublic final ImmutableAllConfig withInstrumentation(InstrumentationConfig... elements)
instrumentation.elements - The elements to setthis objectpublic final ImmutableAllConfig withInstrumentation(Iterable<? extends InstrumentationConfig> elements)
instrumentation.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of instrumentation elements to setthis objectpublic final ImmutableAllConfig withJvm(JvmConfig value)
jvm attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for jvmthis objectpublic final ImmutableAllConfig withPlugins(Iterable<? extends PluginConfig> elements)
plugins.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of plugins elements to setthis objectpublic final ImmutableAllConfig withPlugins(PluginConfig... elements)
plugins.elements - The elements to setthis objectpublic final ImmutableAllConfig withSyntheticMonitors(Iterable<? extends SyntheticMonitorConfig> elements)
syntheticMonitors.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of syntheticMonitors elements to setthis objectpublic final ImmutableAllConfig withSyntheticMonitors(SyntheticMonitorConfig... elements)
syntheticMonitors.elements - The elements to setthis objectpublic final ImmutableAllConfig withTransaction(TransactionConfig value)
transaction attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for transactionthis objectpublic final ImmutableAllConfig withUiDefaults(UiDefaultsConfig value)
uiDefaults attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for uiDefaultsthis objectCopyright © 2011–2020 Glowroot contributors. All rights reserved.