Enum Class TestCase
- All Implemented Interfaces:
Serializable
,Comparable<TestCase>
,Constable
Test cases in Slimefun. These are very useful for debugging why behavior is happening.
Server owners can enable these with
/sf debug <test-case>
- Author:
- WalshyDev
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDebug information regarding ourAnalyticsService
.Cargo input testing.Debug information regarding player profile loading, saving and handling. -
Field Summary
-
Method Summary
-
Enum Constant Details
-
CARGO_INPUT_TESTING
Cargo input testing. This will log what is going on with CARGO_INPUT_NODEs so that we can see what items are. being checked and why it is comparing IDs or meta. This is helpful for us to check into why input nodes are taking a while for servers. -
PLAYER_PROFILE_DATA
Debug information regarding player profile loading, saving and handling. This is an area we're currently changing quite a bit and this will help ensure we're doing it safely -
ANALYTICS
Debug information regarding ourAnalyticsService
.
-
-
Field Details
-
VALUES_LIST
-
-
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
-
toString
-