public class ExplicitVersionPolicy extends Object
Specifies a policy for which bundles we will keep multiple versions of, used in PdeBuildTask
.
Modifier and Type | Class and Description |
---|---|
static class |
ExplicitVersionPolicy.Resolve
Represents a given plugin and its input versions, and specifies the versions to use when resolving it.
|
Constructor and Description |
---|
ExplicitVersionPolicy() |
Modifier and Type | Method and Description |
---|---|
ExplicitVersionPolicy |
copy()
Creates a deep copy of this ExplicitVersionPolicy.
|
ExplicitVersionPolicy.Resolve |
resolve(String pluginName,
String... versions)
Specifies that we expect multiple versions of the given plugin, the return value must be used to set the versions that will be kept.
|
@CheckReturnValue public ExplicitVersionPolicy.Resolve resolve(String pluginName, String... versions)
Specifies that we expect multiple versions of the given plugin, the return value must be used to set the versions that will be kept.
public ExplicitVersionPolicy copy()
Creates a deep copy of this ExplicitVersionPolicy.