Package com.lahuca.botsentry.api.data
Enum Class IPStatus
- All Implemented Interfaces:
Serializable
,Comparable<IPStatus>
,Constable
Enum for the different status values an IP can have.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionValue for when the IP is blacklisted.Value for when the IP is checked by the server, but no extra status is given.Value for when the IP is still in queue to be requested to the servers.Value for when the IP does not have a special status.Value for when the IP is requested, but the server has not responded yet.Deprecated.As of version 9.4-THANATOS.Value for when the IP is in the forced IPs whitelist.Value for when the IP is in the not forced IPs whitelist. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOTHING
Value for when the IP does not have a special status. -
BLACKLIST
Value for when the IP is blacklisted. -
WHITELIST_NOT_FORCED
Value for when the IP is in the not forced IPs whitelist. -
WHITELIST_FORCED
Value for when the IP is in the forced IPs whitelist. -
WHITELIST
Deprecated.As of version 9.4-THANATOS. Refer toWHITELIST_NOT_FORCED
andWHITELIST_FORCED
for the seperate whitelists. Might be removed in future versions.Value for when the IP is whitelisted. -
CHECKING
Value for when the IP is still in queue to be requested to the servers. -
REQUESTED
Value for when the IP is requested, but the server has not responded yet. -
CHECKED
Value for when the IP is checked by the server, but no extra status is given. It is possible that a blacklisted or whitelisted IP still has this status effect.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-