Package com.lahuca.botsentry.api.event
Enum SlowBotDisconnectEvent.DetectionMethod
- java.lang.Object
-
- java.lang.Enum<SlowBotDisconnectEvent.DetectionMethod>
-
- com.lahuca.botsentry.api.event.SlowBotDisconnectEvent.DetectionMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SlowBotDisconnectEvent.DetectionMethod>
- Enclosing interface:
- SlowBotDisconnectEvent
public static enum SlowBotDisconnectEvent.DetectionMethod extends java.lang.Enum<SlowBotDisconnectEvent.DetectionMethod>
No in-depth information will be given per detection method to provide safety.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZONSAME_IPSTOP_REGISTERINGSTRANGE_SITUATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SlowBotDisconnectEvent.DetectionMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SlowBotDisconnectEvent.DetectionMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMAZON
public static final SlowBotDisconnectEvent.DetectionMethod AMAZON
-
SAME_IP
public static final SlowBotDisconnectEvent.DetectionMethod SAME_IP
-
STOP_REGISTERING
public static final SlowBotDisconnectEvent.DetectionMethod STOP_REGISTERING
-
STRANGE_SITUATION
public static final SlowBotDisconnectEvent.DetectionMethod STRANGE_SITUATION
-
-
Method Detail
-
values
public static SlowBotDisconnectEvent.DetectionMethod[] 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 (SlowBotDisconnectEvent.DetectionMethod c : SlowBotDisconnectEvent.DetectionMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SlowBotDisconnectEvent.DetectionMethod 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
-
-