Package com.contentstack.sdk
Enum Stack.PublishType
- java.lang.Object
-
- java.lang.Enum<Stack.PublishType>
-
- com.contentstack.sdk.Stack.PublishType
-
- All Implemented Interfaces:
Serializable
,Comparable<Stack.PublishType>
- Enclosing class:
- Stack
public static enum Stack.PublishType extends Enum<Stack.PublishType>
The enum Publish type.- Since:
- : v3.11.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSET_DELETED
ASSET_PUBLISHED
ASSET_UNPUBLISHED
CONTENT_TYPE_DELETED
ENTRY_DELETED
ENTRY_PUBLISHED
ENTRY_UNPUBLISHED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stack.PublishType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Stack.PublishType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSET_DELETED
public static final Stack.PublishType ASSET_DELETED
-
ASSET_PUBLISHED
public static final Stack.PublishType ASSET_PUBLISHED
-
ASSET_UNPUBLISHED
public static final Stack.PublishType ASSET_UNPUBLISHED
-
CONTENT_TYPE_DELETED
public static final Stack.PublishType CONTENT_TYPE_DELETED
-
ENTRY_DELETED
public static final Stack.PublishType ENTRY_DELETED
-
ENTRY_PUBLISHED
public static final Stack.PublishType ENTRY_PUBLISHED
-
ENTRY_UNPUBLISHED
public static final Stack.PublishType ENTRY_UNPUBLISHED
-
-
Method Detail
-
values
public static Stack.PublishType[] 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 (Stack.PublishType c : Stack.PublishType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Stack.PublishType 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
-
-