@PublicApi public abstract class SyncEvent extends Object implements Comparable<SyncEvent>
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
SyncEvent.Jira |
static class |
SyncEvent.Structure |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SyncEvent o) |
Long |
getSyncInstanceId() |
long |
getTimestamp() |
protected StringBuilder |
toString(StringBuilder builder) |
public long getTimestamp()
@Nullable public Long getSyncInstanceId()
public int compareTo(SyncEvent o)
compareTo in interface Comparable<SyncEvent>protected StringBuilder toString(StringBuilder builder)
Copyright © 2019 ALM Works. All Rights Reserved.