public class DocumentStoreWarnConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE_AT_AGGREGATION |
static boolean |
DEFAULT_ENABLE_AT_TRANSFORMATION |
static long |
DEFAULT_THRESHOLD_IN_BYTES |
boolean |
enableAtAggregation |
boolean |
enableAtTransformation |
long |
thresholdInBytes |
Constructor and Description |
---|
DocumentStoreWarnConfig() |
DocumentStoreWarnConfig(DocumentStoreWarnConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DocumentStoreWarnConfig.
|
static DocumentStoreWarnConfig |
fromString(java.lang.String s)
String representation of this DocumentStoreWarnConfig.
|
long |
getThresholdInBytes() |
boolean |
isEnableAtAggregation() |
boolean |
isEnableAtTransformation() |
DocumentStoreWarnConfig |
makeCopy()
Creates and returns a deep copy of this DocumentStoreWarnConfig.
|
static DocumentStoreWarnConfig |
readFrom(java.io.InputStream is)
Read this DocumentStoreWarnConfig from an XML fragment.
|
void |
setEnableAtAggregation(boolean enableAtAggregation) |
void |
setEnableAtTransformation(boolean enableAtTransformation) |
void |
setThresholdInBytes(long thresholdInBytes) |
java.lang.String |
toString()
String representation of this DocumentStoreWarnConfig.
|
DocumentStoreWarnConfig |
withEnableAtAggregation(boolean enableAtAggregation) |
DocumentStoreWarnConfig |
withEnableAtAggregation(java.lang.Boolean enableAtAggregation) |
DocumentStoreWarnConfig |
withEnableAtTransformation(boolean enableAtTransformation) |
DocumentStoreWarnConfig |
withEnableAtTransformation(java.lang.Boolean enableAtTransformation) |
DocumentStoreWarnConfig |
withThresholdInBytes(long thresholdInBytes) |
DocumentStoreWarnConfig |
withThresholdInBytes(java.lang.Long thresholdInBytes) |
void |
writeTo(java.io.OutputStream os)
Write this DocumentStoreWarnConfig as an XML fragment
|
public long thresholdInBytes
public static final long DEFAULT_THRESHOLD_IN_BYTES
public boolean enableAtTransformation
public static final boolean DEFAULT_ENABLE_AT_TRANSFORMATION
public boolean enableAtAggregation
public static final boolean DEFAULT_ENABLE_AT_AGGREGATION
public DocumentStoreWarnConfig()
public DocumentStoreWarnConfig(DocumentStoreWarnConfig o)
public void setThresholdInBytes(long thresholdInBytes)
public long getThresholdInBytes()
public DocumentStoreWarnConfig withThresholdInBytes(long thresholdInBytes)
public DocumentStoreWarnConfig withThresholdInBytes(java.lang.Long thresholdInBytes)
public void setEnableAtTransformation(boolean enableAtTransformation)
public boolean isEnableAtTransformation()
public DocumentStoreWarnConfig withEnableAtTransformation(boolean enableAtTransformation)
public DocumentStoreWarnConfig withEnableAtTransformation(java.lang.Boolean enableAtTransformation)
public void setEnableAtAggregation(boolean enableAtAggregation)
public boolean isEnableAtAggregation()
public DocumentStoreWarnConfig withEnableAtAggregation(boolean enableAtAggregation)
public DocumentStoreWarnConfig withEnableAtAggregation(java.lang.Boolean enableAtAggregation)
public DocumentStoreWarnConfig makeCopy()
public static DocumentStoreWarnConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static DocumentStoreWarnConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.