Package com.zone.weixin4j.mp.component
Enum ComponentEventType
- java.lang.Object
-
- java.lang.Enum<ComponentEventType>
-
- com.zone.weixin4j.mp.component.ComponentEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentEventType>
public enum ComponentEventType extends Enum<ComponentEventType>
应用组件回调事件- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description authorized
授权成功component_verify_ticket
推送ticketunauthorized
取消授权updateauthorized
授权更新
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComponentEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
component_verify_ticket
public static final ComponentEventType component_verify_ticket
推送ticket
-
unauthorized
public static final ComponentEventType unauthorized
取消授权
-
authorized
public static final ComponentEventType authorized
授权成功
-
updateauthorized
public static final ComponentEventType updateauthorized
授权更新
-
-
Method Detail
-
values
public static ComponentEventType[] 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 (ComponentEventType c : ComponentEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentEventType 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
-
-