Package com.foxinmy.weixin4j.qy.type
Enum ReportLocationType
- java.lang.Object
-
- java.lang.Enum<ReportLocationType>
-
- com.foxinmy.weixin4j.qy.type.ReportLocationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReportLocationType>
public enum ReportLocationType extends Enum<ReportLocationType>
上报策略- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportLocationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReportLocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT
public static final ReportLocationType NOT
不上报
-
DIALOG
public static final ReportLocationType DIALOG
进入回话上报
-
PERSIST
public static final ReportLocationType PERSIST
持续上报
-
-
Method Detail
-
values
public static ReportLocationType[] 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 (ReportLocationType c : ReportLocationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportLocationType 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
-
-