Enum Class SyncJobsLoader.SyncJobsLoadingStatus
java.lang.Object
java.lang.Enum<SyncJobsLoader.SyncJobsLoadingStatus>
com.hybris.backoffice.widgets.syncpopup.SyncJobsLoader.SyncJobsLoadingStatus
- All Implemented Interfaces:
Serializable,Comparable<SyncJobsLoader.SyncJobsLoadingStatus>,Constable
- Enclosing class:
- SyncJobsLoader
public static enum SyncJobsLoader.SyncJobsLoadingStatus
extends Enum<SyncJobsLoader.SyncJobsLoadingStatus>
Defines loading status and label message key for given status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGiven items are in different catalog versions.List of items is emptyGiven items contain catalog version unaware items.User doesn't have permissions to perform sync.Given items contain CatalogVersion items and items of other types.Given items contain more than one catalog versions.No sync jobs are found for given items.Jobs is loaded successfully. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisOK()Returns the enum constant of this class with the specified name.static SyncJobsLoader.SyncJobsLoadingStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Jobs is loaded successfully. -
MULTIPLE_CATALOG_VERSIONS
Given items contain more than one catalog versions. -
MIXED_ITEMS
Given items contain CatalogVersion items and items of other types. -
ITEMS_CONTAIN_CV_UNAWARE
Given items contain catalog version unaware items. -
DIFFERENT_CATALOG_VERSIONS
Given items are in different catalog versions. -
EMPTY_SELECTION
List of items is empty -
NO_SYNC_JOBS
No sync jobs are found for given items. -
MISSING_PERMISSIONS
User doesn't have permissions to perform sync.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMsgLabelKey
- Returns:
- status message label key.
-
isOK
public boolean isOK()
-