Package com.ss.android.ugc.bytex.common
Enum IPlugin.HookType
- java.lang.Object
-
- java.lang.Enum<IPlugin.HookType>
-
- com.ss.android.ugc.bytex.common.IPlugin.HookType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IPlugin.HookType>
- Enclosing interface:
- IPlugin
public static enum IPlugin.HookType extends java.lang.Enum<IPlugin.HookType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPlugin.HookTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IPlugin.HookType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final IPlugin.HookType None
-
Before
public static final IPlugin.HookType Before
-
After
public static final IPlugin.HookType After
-
-
Method Detail
-
values
public static IPlugin.HookType[] 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 (IPlugin.HookType c : IPlugin.HookType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPlugin.HookType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-