Enum Class TaskJobType

java.lang.Object
java.lang.Enum<TaskJobType>
dev.le_app.mcss_api_java.TaskJobType
All Implemented Interfaces:
Serializable, Comparable<TaskJobType>, Constable

public enum TaskJobType extends Enum<TaskJobType>
List of all possible types of a task job.
  • Enum Constant Details

    • SERVER_ACTION

      public static final TaskJobType SERVER_ACTION
      Task job is a Server Action (Ex restart)
    • RUN_COMMANDS

      public static final TaskJobType RUN_COMMANDS
      Task job is a Server Command
    • START_BACKUP

      public static final TaskJobType START_BACKUP
      Task job is to start a backup
  • Method Details

    • values

      public static TaskJobType[] 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

      public static TaskJobType valueOf(String name)
      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 name
      NullPointerException - if the argument is null