@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.774Z") @Stability(value=Experimental) public enum VersioningStrategy extends Enum<VersioningStrategy>
| Enum Constant and Description |
|---|
AUTO
(experimental) - For apps, the version requirements are increased.
|
INCREASE
(experimental) Always increase the version requirement to match the new version.
|
INCREASE_IF_NECESSARY
(experimental) Increase the version requirement only when required by the new version.
|
LOCKFILE_ONLY
(experimental) Only create pull requests to update lockfiles updates.
|
WIDEN
(experimental) Relax the version requirement to include both the new and old version, when possible.
|
| Modifier and Type | Method and Description |
|---|---|
static VersioningStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersioningStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final VersioningStrategy LOCKFILE_ONLY
Ignore any new versions that would require package manifest changes.
@Stability(value=Experimental) public static final VersioningStrategy AUTO
@Stability(value=Experimental) public static final VersioningStrategy WIDEN
@Stability(value=Experimental) public static final VersioningStrategy INCREASE
@Stability(value=Experimental) public static final VersioningStrategy INCREASE_IF_NECESSARY
public static VersioningStrategy[] values()
for (VersioningStrategy c : VersioningStrategy.values()) System.out.println(c);
public static VersioningStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.