Class EnvironmentVersioningSupplement
java.lang.Object
com.atlassian.bamboo.versioning.AbstractVersioningSupplement<MutableEnvironment,MutableEnvironmentImpl>
com.atlassian.bamboo.deployments.versioning.EnvironmentVersioningSupplement
- All Implemented Interfaces:
VersioningSupplement<MutableEnvironment>
public class EnvironmentVersioningSupplement
extends AbstractVersioningSupplement<MutableEnvironment,MutableEnvironmentImpl>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.versioning.AbstractVersioningSupplement
bambooClusterSettings, ID_FIELD
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentVersioningSupplement
(@NotNull BambooClusterSettings bambooClusterSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
incrementVersion
(@Nullable MutableEnvironment environment, @Nullable org.hibernate.Session session) Increments the version of the given object.Methods inherited from class com.atlassian.bamboo.versioning.AbstractVersioningSupplement
incrementVersion
-
Constructor Details
-
EnvironmentVersioningSupplement
public EnvironmentVersioningSupplement(@NotNull @NotNull BambooClusterSettings bambooClusterSettings)
-
-
Method Details
-
incrementVersion
public void incrementVersion(@Nullable @Nullable MutableEnvironment environment, @Nullable @Nullable org.hibernate.Session session) Description copied from interface:VersioningSupplement
Increments the version of the given object.- Parameters:
environment
- the object to increment the version ofsession
- the session to use for incrementing the version
-