Class MutableEntityVersion
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.MutableEntityVersion
-
public class MutableEntityVersion extends Object
SeePersistentEntityVersion
for details
-
-
Constructor Summary
Constructors Constructor Description MutableEntityVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentEntityVersion
getVersionSnapshot()
Returns version snapshotvoid
markEdited()
Updates editIdvoid
markPersisted(long expectedEditId)
Updates persistId and resets editId to 0 if its value is the same as expectedvoid
markUnedited()
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
-
-