public class SyncState extends Object implements Serializable
Constructor and Description |
---|
SyncState(URL url,
Severity severity,
String message,
Error error,
Date syncStarted,
Date syncFinished) |
Modifier and Type | Method and Description |
---|---|
Error |
getError() |
String |
getMessage() |
Severity |
getSeverity() |
Date |
getSyncFinished()
Gets the timestamp when the sync referenced by this
SyncState finished. |
Date |
getSyncStarted()
Gets the timestamp when the sync referenced by this
SyncState stared. |
URL |
getUrl()
Gets the URL that was used for the sync.
|
public URL getUrl()
public Severity getSeverity()
public String getMessage()
public Date getSyncStarted()
SyncState
stared.null
.public Date getSyncFinished()
SyncState
finished.
Please note: This does not say anything about whether or not it completed (successfully).
If there was an error, the error
property is not null
.
null
.Copyright © 2013–2019. All rights reserved.