Module net.bis5.mattermost4j.models
Enum AllowEditPost
- java.lang.Object
-
- java.lang.Enum<AllowEditPost>
-
- net.bis5.mattermost.model.config.consts.AllowEditPost
-
- All Implemented Interfaces:
Serializable,Comparable<AllowEditPost>,HasCode<AllowEditPost>
@Deprecated public enum AllowEditPost extends Enum<AllowEditPost> implements HasCode<AllowEditPost>
Deprecated.Removed in Mattermost 4.9THIS MODEL WILL REMOVE.- Author:
- Takayuki Maruyama
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYSDeprecated.NEVERDeprecated.TIME_LIMITDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCode()Deprecated.static AllowEditPostof(String code)Deprecated.static AllowEditPostvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static AllowEditPost[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final AllowEditPost ALWAYS
Deprecated.
-
NEVER
public static final AllowEditPost NEVER
Deprecated.
-
TIME_LIMIT
public static final AllowEditPost TIME_LIMIT
Deprecated.
-
-
Method Detail
-
values
public static AllowEditPost[] values()
Deprecated.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 (AllowEditPost c : AllowEditPost.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AllowEditPost valueOf(String name)
Deprecated.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
-
of
public static AllowEditPost of(String code)
Deprecated.
-
getCode
public String getCode()
Deprecated.- Specified by:
getCodein interfaceHasCode<AllowEditPost>
-
-