Package eu.europa.esig.dss.model.tsl
Interface InfoRecord
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DownloadInfoRecord
,ParsingInfoRecord
,ValidationInfoRecord
- All Known Implementing Classes:
AbstractCacheDTO
,DownloadCacheDTO
,ParsingCacheDTO
,ValidationCacheDTO
Describes a state of a record
-
Method Summary
Modifier and TypeMethodDescriptionGets the first time when the error is occurredGets the last time when the error is occurredGets the exception message for an error stateGets the exception stack trace for an error stateGets the last time when the state of record has been changedGets the last time when the record has been synchronizedGets the record's status nameboolean
Gets if the record is desynchronizedboolean
isError()
Gets if the error is present for the recordboolean
Gets if the refresh is needed for an entryboolean
Gets if a result exist under the recordboolean
Gets if the record is synchronizedboolean
Gets if the record shall be deleted
-
Method Details
-
isRefreshNeeded
boolean isRefreshNeeded()Gets if the refresh is needed for an entry- Returns:
- TRUE if the refresh is needed, FALSE otherwise
-
isDesynchronized
boolean isDesynchronized()Gets if the record is desynchronized- Returns:
- TRUE if the record is desynchronized, FALSE otherwise
-
isSynchronized
boolean isSynchronized()Gets if the record is synchronized- Returns:
- TRUE if the record is synchronized, FALSE otherwise
-
isError
boolean isError()Gets if the error is present for the record- Returns:
- TRUE if the record defines an error, FALSE otherwise
-
isToBeDeleted
boolean isToBeDeleted()Gets if the record shall be deleted- Returns:
- TRUE if the record shall be deleted, FALSE otherwise
-
getStatusName
-
getLastStateTransitionTime
-
getLastSuccessSynchronizationTime
-
getExceptionMessage
-
getExceptionStackTrace
-
getExceptionFirstOccurrenceTime
-
getExceptionLastOccurrenceTime
-
isResultExist
boolean isResultExist()Gets if a result exist under the record- Returns:
- TRUE if the result exists, FALSE otherwise
-