Class SyncResult


  • public class SyncResult
    extends java.lang.Object
    Represents results of the synchronization.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SyncItemCronJobModel getCronJob()  
      boolean isError()
      Gets whether the synchronization was not successfully.
      boolean isFinished()
      Gets whether the synchronization is not running anymore.
      boolean isRunning()
      Gets whether the synchronization is still running.
      boolean isSuccessful()
      Gets whether the synchronization was successfully.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isSuccessful

        public boolean isSuccessful()
        Gets whether the synchronization was successfully.
        Returns:
        true if synchronization was successfully
        Throws:
        java.lang.IllegalStateException - in case synchronization is still running.
      • isError

        public boolean isError()
        Gets whether the synchronization was not successfully.
        Returns:
        true if synchronization was not successfully
        Throws:
        java.lang.IllegalStateException - in case synchronization is still running.
      • isRunning

        public boolean isRunning()
        Gets whether the synchronization is still running.
        Returns:
        true if synchronization is still running
      • isFinished

        public boolean isFinished()
        Gets whether the synchronization is not running anymore.
        Returns:
        true if synchronization is not running