Class SyncResult

java.lang.Object
de.hybris.platform.catalog.synchronization.SyncResult

public class SyncResult extends Object
Represents results of the synchronization.
  • Constructor Details

  • Method Details

    • isSuccessful

      public boolean isSuccessful()
      Gets whether the synchronization was successfully.
      Returns:
      true if synchronization was successfully
      Throws:
      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:
      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
    • getCronJob

      public SyncItemCronJobModel getCronJob()