Enum Class MLTaskType

java.lang.Object
java.lang.Enum<MLTaskType>
org.opensearch.ml.common.MLTaskType
All Implemented Interfaces:
Serializable, Comparable<MLTaskType>, Constable

public enum MLTaskType extends Enum<MLTaskType>
  • Enum Constant Details

    • TRAINING

      public static final MLTaskType TRAINING
    • PREDICTION

      public static final MLTaskType PREDICTION
    • TRAINING_AND_PREDICTION

      public static final MLTaskType TRAINING_AND_PREDICTION
    • EXECUTION

      public static final MLTaskType EXECUTION
    • UPLOAD_MODEL

      @Deprecated public static final MLTaskType UPLOAD_MODEL
      Deprecated.
    • LOAD_MODEL

      @Deprecated public static final MLTaskType LOAD_MODEL
      Deprecated.
    • REGISTER_MODEL

      public static final MLTaskType REGISTER_MODEL
    • DEPLOY_MODEL

      public static final MLTaskType DEPLOY_MODEL
  • Method Details

    • values

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