Package org.imixs.archive.service.ui
Class ResyncController
java.lang.Object
org.imixs.archive.service.ui.ResyncController
- All Implemented Interfaces:
Serializable
CID Bean for the resync service.
The new syncpoint is managed as a string in the format 2019-12-31T06:00
- Author:
- rsoika
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()This method cancels a current running sny processReturns the newSyncPoint and computes the default valuereturns the syncpoint of the current configurationbooleanReturns true if the sync service is actually runningvoidsetNewSyncPoint(String newSyncPoint) voidThis method updates the current synpoint
-
Field Details
-
ISO_DATETIME_FORMAT
- See Also:
-
-
Constructor Details
-
ResyncController
public ResyncController()
-
-
Method Details
-
getNewSyncPoint
Returns the newSyncPoint and computes the default value- Returns:
-
setNewSyncPoint
-
getSyncPoint
returns the syncpoint of the current configuration- Returns:
-
updateSyncPoint
public void updateSyncPoint()This method updates the current synpoint- Throws:
ArchiveException
-
isRunning
public boolean isRunning()Returns true if the sync service is actually running- Returns:
-
cancel
public void cancel()This method cancels a current running sny process- Throws:
ArchiveException
-