Class SyncResult
java.lang.Object
de.hybris.platform.catalog.synchronization.SyncResult
Represents results of the synchronization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisError()Gets whether the synchronization was not successfully.booleanGets whether the synchronization is not running anymore.booleanGets whether the synchronization is still running.booleanGets whether the synchronization was successfully.
-
Constructor Details
-
SyncResult
-
-
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
-