public final class ConcurrentModificationConflict
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ConcurrentModificationConflict(Ref ref, int sessionOperation, int coreOperation, java.lang.String user) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getCoreOperation()
Returns the type of operation that was performed in the core since the session was created, that is causing this concurrent modification conflict.
|
java.lang.String |
getLastModifiedBy()
Returns name of last user who last modified resource in core
|
Ref |
getRef()
Returns the reference for the object that has the conflict
|
int |
getSessionOperation()
Returns the type of operation that was performed in the session that is causing this concurrent modification conflict.
|
int |
hashCode() |
java.lang.String |
toString() |
public ConcurrentModificationConflict(Ref ref, int sessionOperation, int coreOperation, java.lang.String user)
public Ref getRef()
public int getSessionOperation()
DiffEntry.ADD or DiffEntry.DELETE or DiffEntry.UPDATE or DiffEntry.RENAMEpublic int getCoreOperation()
DiffEntry.ADD or DiffEntry.DELETE or DiffEntry.UPDATE or DiffEntry.RENAMEpublic java.lang.String getLastModifiedBy()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object