Class MutableEntityVersion
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.MutableEntityVersion
-
public class MutableEntityVersion extends Object
SeePersistentEntityVersionfor details
-
-
Constructor Summary
Constructors Constructor Description MutableEntityVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentEntityVersiongetVersionSnapshot()Returns version snapshotvoidmarkEdited()Updates editIdvoidmarkPersisted(long expectedEditId)Updates persistId and resets editId to 0 if its value is the same as expectedvoidmarkUnedited()Resets editId to 0
-
-
-
Method Detail
-
markEdited
public void markEdited()
Updates editId
-
markUnedited
public void markUnedited()
Resets editId to 0
-
markPersisted
public void markPersisted(long expectedEditId)
Updates persistId and resets editId to 0 if its value is the same as expected- Parameters:
expectedEditId- expected editId
-
getVersionSnapshot
@NotNull public PersistentEntityVersion getVersionSnapshot()
Returns version snapshot- Returns:
- see above
-
-