Package dev.le_app.mcss_api_java
Enum Class Endpoints
- All Implemented Interfaces:
Serializable,Comparable<Endpoints>,Constable
List of endpoints for the API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEndpoint for creating a taskEndpoint for executing a server actionEndpoint for executing a server commandEndpoint for executing multiple commandsEndpoint for getting the server consoleEndpoint for getting the server console from beginningEndpoint for getting the server console from beginning reversedEndpoint for getting the server console reversedEndpoint for getting the server iconEndpoint for getting the server schedulerEndpoint for getting the server statsEndpoint for getting the task detailsEndpoint for getting the task amount filteredEndpoint for getting the task listEndpoint for checking if the console is outdatedRoot endpoint of the APIEndpoint for getting server backup detailsEndpoint for getting server backup listEndpoint for getting server countEndpoint for getting server count with filterEndpoint for getting server list with filter and servertypeEndpoint for getting server detailsEndpoint for getting server list -
Method Summary
-
Enum Constant Details
-
ROOT
Root endpoint of the API -
SERVERS
Endpoint for getting server list -
SERVER_DETAILS
Endpoint for getting server details -
SERVER_COUNT
Endpoint for getting server count -
SERVER_COUNT_FILTER
Endpoint for getting server count with filter -
SERVER_COUNT_FILTER_SRVTYPE
Endpoint for getting server list with filter and servertype -
EXECUTE_SERVER_ACTION
Endpoint for executing a server action -
EXECUTE_SERVER_COMMAND
Endpoint for executing a server command -
EXECUTE_SERVER_COMMANDS
Endpoint for executing multiple commands -
SERVER_BACKUPS
Endpoint for getting server backup list -
SERVER_BACKUP_DETAILS
Endpoint for getting server backup details -
GET_STATS
Endpoint for getting the server stats -
GET_ICON
Endpoint for getting the server icon -
GET_CONSOLE
Endpoint for getting the server console -
GET_CONSOLE_FROM_BEGINNING
Endpoint for getting the server console from beginning -
GET_CONSOLE_REVERSED
Endpoint for getting the server console reversed -
GET_CONSOLE_FROM_BEGINNING_REVERSED
Endpoint for getting the server console from beginning reversed -
IS_CONSOLE_OUTDATED
Endpoint for checking if the console is outdated -
GET_SCHEDULER
Endpoint for getting the server scheduler -
GET_TASK_AMOUNT_FILTER
Endpoint for getting the task amount filtered -
GET_TASK_LIST
Endpoint for getting the task list -
CREATE_TASK
Endpoint for creating a task -
GET_TASK
Endpoint for getting the task details
-
-
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
-
getEndpoint
Returns the endpoint as string.- Returns:
- The endpoint as string.
-