Class ModelPlotConfig
java.lang.Object
org.elasticsearch.client.ml.job.config.ModelPlotConfig
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class ModelPlotConfig
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.xcontent.ConstructingObjectParser<ModelPlotConfig,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description ModelPlotConfig(boolean enabled, java.lang.String terms, java.lang.Boolean annotationsEnabled)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
annotationsEnabled()
boolean
equals(java.lang.Object other)
java.lang.String
getTerms()
int
hashCode()
boolean
isEnabled()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<ModelPlotConfig,java.lang.Void> PARSER
-
-
Constructor Details
-
ModelPlotConfig
public ModelPlotConfig(boolean enabled, java.lang.String terms, java.lang.Boolean annotationsEnabled)
-
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
isEnabled
public boolean isEnabled() -
getTerms
public java.lang.String getTerms() -
annotationsEnabled
public java.lang.Boolean annotationsEnabled() -
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-