Class PerPartitionCategorizationConfig

java.lang.Object
org.elasticsearch.xpack.core.ml.job.config.PerPartitionCategorizationConfig
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class PerPartitionCategorizationConfig extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • TYPE_FIELD

      public static final org.elasticsearch.xcontent.ParseField TYPE_FIELD
    • ENABLED_FIELD

      public static final org.elasticsearch.xcontent.ParseField ENABLED_FIELD
    • STOP_ON_WARN

      public static final org.elasticsearch.xcontent.ParseField STOP_ON_WARN
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<PerPartitionCategorizationConfig,Void> LENIENT_PARSER
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<PerPartitionCategorizationConfig,Void> STRICT_PARSER
  • Constructor Details

    • PerPartitionCategorizationConfig

      public PerPartitionCategorizationConfig()
    • PerPartitionCategorizationConfig

      public PerPartitionCategorizationConfig(boolean enabled, Boolean stopOnWarn)
    • PerPartitionCategorizationConfig

      public PerPartitionCategorizationConfig(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • isEnabled

      public boolean isEnabled()
    • isStopOnWarn

      public boolean isStopOnWarn()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object