Enum SyncJobsLoader.SyncJobsLoadingStatus
- java.lang.Object
-
- java.lang.Enum<SyncJobsLoader.SyncJobsLoadingStatus>
-
- com.hybris.backoffice.widgets.syncpopup.SyncJobsLoader.SyncJobsLoadingStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SyncJobsLoader.SyncJobsLoadingStatus>
- Enclosing class:
- SyncJobsLoader
public static enum SyncJobsLoader.SyncJobsLoadingStatus extends java.lang.Enum<SyncJobsLoader.SyncJobsLoadingStatus>
Defines loading status and label message key for given status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIFFERENT_CATALOG_VERSIONSGiven items are in different catalog versions.EMPTY_SELECTIONList of items is emptyITEMS_CONTAIN_CV_UNAWAREGiven items contain catalog version unaware items.MISSING_PERMISSIONSUser doesn't have permissions to perform sync.MIXED_ITEMSGiven items contain CatalogVersion items and items of other types.MULTIPLE_CATALOG_VERSIONSGiven items contain more than one catalog versions.NO_SYNC_JOBSNo sync jobs are found for given items.OKJobs is loaded successfully.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMsgLabelKey()booleanisOK()static SyncJobsLoader.SyncJobsLoadingStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SyncJobsLoader.SyncJobsLoadingStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final SyncJobsLoader.SyncJobsLoadingStatus OK
Jobs is loaded successfully.
-
MULTIPLE_CATALOG_VERSIONS
public static final SyncJobsLoader.SyncJobsLoadingStatus MULTIPLE_CATALOG_VERSIONS
Given items contain more than one catalog versions.
-
MIXED_ITEMS
public static final SyncJobsLoader.SyncJobsLoadingStatus MIXED_ITEMS
Given items contain CatalogVersion items and items of other types.
-
ITEMS_CONTAIN_CV_UNAWARE
public static final SyncJobsLoader.SyncJobsLoadingStatus ITEMS_CONTAIN_CV_UNAWARE
Given items contain catalog version unaware items.
-
DIFFERENT_CATALOG_VERSIONS
public static final SyncJobsLoader.SyncJobsLoadingStatus DIFFERENT_CATALOG_VERSIONS
Given items are in different catalog versions.
-
EMPTY_SELECTION
public static final SyncJobsLoader.SyncJobsLoadingStatus EMPTY_SELECTION
List of items is empty
-
NO_SYNC_JOBS
public static final SyncJobsLoader.SyncJobsLoadingStatus NO_SYNC_JOBS
No sync jobs are found for given items.
-
MISSING_PERMISSIONS
public static final SyncJobsLoader.SyncJobsLoadingStatus MISSING_PERMISSIONS
User doesn't have permissions to perform sync.
-
-
Method Detail
-
values
public static SyncJobsLoader.SyncJobsLoadingStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyncJobsLoader.SyncJobsLoadingStatus c : SyncJobsLoader.SyncJobsLoadingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncJobsLoader.SyncJobsLoadingStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getMsgLabelKey
public java.lang.String getMsgLabelKey()
- Returns:
- status message label key.
-
isOK
public boolean isOK()
-
-