Package ai.promoted.delivery.model
Enum UseCase
- java.lang.Object
-
- java.lang.Enum<UseCase>
-
- ai.promoted.delivery.model.UseCase
-
- All Implemented Interfaces:
Serializable,Comparable<UseCase>
public enum UseCase extends Enum<UseCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORY_CONTENTCLOSE_UPCUSTOMDISCOVERFEEDMY_CONTENTMY_SAVED_CONTENTRELATED_CONTENTSEARCHSEARCH_SUGGESTIONSSELLER_CONTENTUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static UseCasevalueOf(String name)Returns the enum constant of this type with the specified name.static UseCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final UseCase UNKNOWN
-
CUSTOM
public static final UseCase CUSTOM
-
SEARCH
public static final UseCase SEARCH
-
SEARCH_SUGGESTIONS
public static final UseCase SEARCH_SUGGESTIONS
-
FEED
public static final UseCase FEED
-
RELATED_CONTENT
public static final UseCase RELATED_CONTENT
-
CLOSE_UP
public static final UseCase CLOSE_UP
-
CATEGORY_CONTENT
public static final UseCase CATEGORY_CONTENT
-
MY_CONTENT
public static final UseCase MY_CONTENT
-
MY_SAVED_CONTENT
public static final UseCase MY_SAVED_CONTENT
-
SELLER_CONTENT
public static final UseCase SELLER_CONTENT
-
DISCOVER
public static final UseCase DISCOVER
-
-
Method Detail
-
values
public static UseCase[] 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 (UseCase c : UseCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UseCase valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
-