@Experimental @Generated @ThreadSafe @Immutable public class PluginManagement extends PluginContainer implements Serializable, InputLocationTracker
Modifier and Type | Class and Description |
---|---|
static class |
PluginManagement.Builder
Builder class used to create PluginManagement instances.
|
Modifier and Type | Method and Description |
---|---|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source.
|
static PluginManagement.Builder |
newBuilder()
Creates a new
PluginManagement builder instance. |
static PluginManagement.Builder |
newBuilder(boolean withDefaults)
Creates a new
PluginManagement builder instance using default values or not. |
static PluginManagement.Builder |
newBuilder(PluginManagement from)
Creates a new
PluginManagement builder instance using the specified object as a basis. |
static PluginManagement.Builder |
newBuilder(PluginManagement from,
boolean forceCopy)
Creates a new
PluginManagement builder instance using the specified object as a basis. |
static PluginManagement |
newInstance()
Creates a new
PluginManagement instance. |
static PluginManagement |
newInstance(boolean withDefaults)
Creates a new
PluginManagement instance using default values or not. |
PluginManagement.Builder |
with()
Creates a new builder with this object as the basis.
|
PluginManagement |
withPlugins(Collection<Plugin> plugins)
Creates a new
PluginManagement instance using the specified plugins. |
flushPluginMap, getPlugins, getPluginsAsMap, newBuilder, newBuilder
public InputLocation getLocation(Object key)
getLocation
in interface InputLocationTracker
getLocation
in class PluginContainer
@Nonnull public PluginManagement.Builder with()
with
in class PluginContainer
Builder
@Nonnull public PluginManagement withPlugins(Collection<Plugin> plugins)
PluginManagement
instance using the specified plugins.withPlugins
in class PluginContainer
plugins
- the new Collection<Plugin>
to usePluginManagement
with the specified plugins@Nonnull public static PluginManagement newInstance()
PluginManagement
instance.
Equivalent to newInstance( true )
.PluginManagement
newInstance(boolean)
@Nonnull public static PluginManagement newInstance(boolean withDefaults)
PluginManagement
instance using default values or not.
Equivalent to newBuilder( withDefaults ).build()
.withDefaults
- the boolean indicating whether default values should be usedPluginManagement
@Nonnull public static PluginManagement.Builder newBuilder()
PluginManagement
builder instance.
Equivalent to newBuilder( true )
.Builder
newBuilder(boolean)
@Nonnull public static PluginManagement.Builder newBuilder(boolean withDefaults)
PluginManagement
builder instance using default values or not.withDefaults
- the boolean indicating whether default values should be usedBuilder
@Nonnull public static PluginManagement.Builder newBuilder(PluginManagement from)
PluginManagement
builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false )
.from
- the PluginManagement
instance to use as a basisBuilder
@Nonnull public static PluginManagement.Builder newBuilder(PluginManagement from, boolean forceCopy)
PluginManagement
builder instance using the specified object as a basis.from
- the PluginManagement
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forcedBuilder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.