Class SyncEvent
Object
SyncEvent
- All Implemented Interfaces:
Comparable<SyncEvent>
- Direct Known Subclasses:
SyncEvent.Jira,SyncEvent.Structure
SyncEvent with its only subclasses, SyncEvent.Structure and SyncEvent.Jira, is
used to represent to incremental synchronization a single change in JIRA or in Structure.
Note that although both subclasses override the default toString() method to provide details about the event,
SyncEvent.Structure includes into the output row IDs without resolving them into item IDs;
row IDs might be of little use in application logs. You might want to create a more detailed message including row IDs
by using RowManager.
- Author:
- Igor Sereda
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionintlongprotected StringBuildertoString(StringBuilder builder)
-
Method Details
-
getTimestamp
public long getTimestamp() -
getSyncInstanceId
-
compareTo
- Specified by:
compareToin interfaceComparable<SyncEvent>
-
toString
-