public class ConvertInternalSettings
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
ConvertInternalCacheSettings |
convertInternalCacheSettings |
ConvertInternalChildrenSettings |
convertInternalChildrenSettings |
ConvertInternalPOSIXSettings |
convertInternalPOSIXSettings |
static boolean |
DEFAULT_DISABLE_SHARED_MEMORY |
static boolean |
DEFAULT_RESTRICT_USER_ID |
static boolean |
DEFAULT_RETRY_ON_M_M_A_P_FAILED |
static boolean |
DEFAULT_SELFTEST_ON_STARTUP |
boolean |
disableSharedMemory |
java.util.List<KeyValue> |
keyValue |
java.lang.String |
loggingLevel |
boolean |
restrictUserId |
boolean |
retryOnMMAPFailed |
boolean |
selftestOnStartup |
java.util.List<StringValue> |
stringValue |
java.lang.String |
tmpDir |
Constructor and Description |
---|
ConvertInternalSettings() |
ConvertInternalSettings(ConvertInternalSettings o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ConvertInternalSettings.
|
static ConvertInternalSettings |
fromString(java.lang.String s)
String representation of this ConvertInternalSettings.
|
ConvertInternalCacheSettings |
getConvertInternalCacheSettings() |
ConvertInternalChildrenSettings |
getConvertInternalChildrenSettings() |
ConvertInternalPOSIXSettings |
getConvertInternalPOSIXSettings() |
java.util.List<KeyValue> |
getKeyValue() |
java.lang.String |
getLoggingLevel()
Sets logging verbosity of the convert.
verbose: Logs converted urls quiet: Logs errors only. enum ("verbose", "quiet") |
java.util.List<StringValue> |
getStringValue() |
java.lang.String |
getTmpDir()
The temporary path to override the system temporary path.
|
boolean |
isDisableSharedMemory()
Disables shared memory support.
|
boolean |
isRestrictUserId()
Restricts connections to the user running the server.
Supported only on Windows and Linux platforms. |
boolean |
isRetryOnMMAPFailed()
Default convert retry with regular I/O if mmap fails when the convert is
responsible for fetching the bytes of a document.
This is useful for FileSystem mounted in direct I/O. Note: This setting defines the process default value, which can be overridden for each conversion command. |
boolean |
isSelftestOnStartup()
The converter tests itself on startup.
|
ConvertInternalSettings |
makeCopy()
Creates and returns a deep copy of this ConvertInternalSettings.
|
static ConvertInternalSettings |
readFrom(java.io.InputStream is)
Read this ConvertInternalSettings from an XML fragment.
|
void |
setConvertInternalCacheSettings(ConvertInternalCacheSettings convertInternalCacheSettings) |
void |
setConvertInternalChildrenSettings(ConvertInternalChildrenSettings convertInternalChildrenSettings) |
void |
setConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings convertInternalPOSIXSettings) |
void |
setDisableSharedMemory(boolean disableSharedMemory)
Disables shared memory support.
|
void |
setLoggingLevel(java.lang.String loggingLevel)
Sets logging verbosity of the convert.
verbose: Logs converted urls quiet: Logs errors only. enum ("verbose", "quiet") |
void |
setRestrictUserId(boolean restrictUserId)
Restricts connections to the user running the server.
Supported only on Windows and Linux platforms. |
void |
setRetryOnMMAPFailed(boolean retryOnMMAPFailed)
Default convert retry with regular I/O if mmap fails when the convert is
responsible for fetching the bytes of a document.
This is useful for FileSystem mounted in direct I/O. Note: This setting defines the process default value, which can be overridden for each conversion command. |
void |
setSelftestOnStartup(boolean selftestOnStartup)
The converter tests itself on startup.
|
void |
setTmpDir(java.lang.String tmpDir)
The temporary path to override the system temporary path.
|
java.lang.String |
toString()
String representation of this ConvertInternalSettings.
|
ConvertInternalSettings |
withConvertInternalCacheSettings(ConvertInternalCacheSettings convertInternalCacheSettings) |
ConvertInternalSettings |
withConvertInternalChildrenSettings(ConvertInternalChildrenSettings convertInternalChildrenSettings) |
ConvertInternalSettings |
withConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings convertInternalPOSIXSettings) |
ConvertInternalSettings |
withDisableSharedMemory(boolean disableSharedMemory) |
ConvertInternalSettings |
withDisableSharedMemory(java.lang.Boolean disableSharedMemory) |
ConvertInternalSettings |
withKeyValue(java.util.Collection<KeyValue> __values) |
ConvertInternalSettings |
withKeyValue(KeyValue... __values) |
ConvertInternalSettings |
withLoggingLevel(java.lang.String loggingLevel) |
ConvertInternalSettings |
withRestrictUserId(boolean restrictUserId) |
ConvertInternalSettings |
withRestrictUserId(java.lang.Boolean restrictUserId) |
ConvertInternalSettings |
withRetryOnMMAPFailed(boolean retryOnMMAPFailed) |
ConvertInternalSettings |
withRetryOnMMAPFailed(java.lang.Boolean retryOnMMAPFailed) |
ConvertInternalSettings |
withSelftestOnStartup(boolean selftestOnStartup) |
ConvertInternalSettings |
withSelftestOnStartup(java.lang.Boolean selftestOnStartup) |
ConvertInternalSettings |
withStringValue(java.util.Collection<StringValue> __values) |
ConvertInternalSettings |
withStringValue(StringValue... __values) |
ConvertInternalSettings |
withTmpDir(java.lang.String tmpDir) |
void |
writeTo(java.io.OutputStream os)
Write this ConvertInternalSettings as an XML fragment
|
public ConvertInternalCacheSettings convertInternalCacheSettings
public ConvertInternalChildrenSettings convertInternalChildrenSettings
public ConvertInternalPOSIXSettings convertInternalPOSIXSettings
public java.util.List<KeyValue> keyValue
public java.util.List<StringValue> stringValue
public boolean retryOnMMAPFailed
public static final boolean DEFAULT_RETRY_ON_M_M_A_P_FAILED
public boolean disableSharedMemory
public static final boolean DEFAULT_DISABLE_SHARED_MEMORY
public java.lang.String loggingLevel
public java.lang.String tmpDir
public boolean selftestOnStartup
public static final boolean DEFAULT_SELFTEST_ON_STARTUP
public boolean restrictUserId
public static final boolean DEFAULT_RESTRICT_USER_ID
public ConvertInternalSettings()
public ConvertInternalSettings(ConvertInternalSettings o)
public void setConvertInternalCacheSettings(ConvertInternalCacheSettings convertInternalCacheSettings)
public ConvertInternalCacheSettings getConvertInternalCacheSettings()
public ConvertInternalSettings withConvertInternalCacheSettings(ConvertInternalCacheSettings convertInternalCacheSettings)
public void setConvertInternalChildrenSettings(ConvertInternalChildrenSettings convertInternalChildrenSettings)
public ConvertInternalChildrenSettings getConvertInternalChildrenSettings()
public ConvertInternalSettings withConvertInternalChildrenSettings(ConvertInternalChildrenSettings convertInternalChildrenSettings)
public void setConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings convertInternalPOSIXSettings)
public ConvertInternalPOSIXSettings getConvertInternalPOSIXSettings()
public ConvertInternalSettings withConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings convertInternalPOSIXSettings)
public java.util.List<KeyValue> getKeyValue()
public ConvertInternalSettings withKeyValue(KeyValue... __values)
public ConvertInternalSettings withKeyValue(java.util.Collection<KeyValue> __values)
public java.util.List<StringValue> getStringValue()
public ConvertInternalSettings withStringValue(StringValue... __values)
public ConvertInternalSettings withStringValue(java.util.Collection<StringValue> __values)
public void setRetryOnMMAPFailed(boolean retryOnMMAPFailed)
public boolean isRetryOnMMAPFailed()
public ConvertInternalSettings withRetryOnMMAPFailed(boolean retryOnMMAPFailed)
public ConvertInternalSettings withRetryOnMMAPFailed(java.lang.Boolean retryOnMMAPFailed)
public void setDisableSharedMemory(boolean disableSharedMemory)
public boolean isDisableSharedMemory()
public ConvertInternalSettings withDisableSharedMemory(boolean disableSharedMemory)
public ConvertInternalSettings withDisableSharedMemory(java.lang.Boolean disableSharedMemory)
public void setLoggingLevel(java.lang.String loggingLevel)
enum ("verbose", "quiet")
public java.lang.String getLoggingLevel()
enum ("verbose", "quiet")
public ConvertInternalSettings withLoggingLevel(java.lang.String loggingLevel)
public void setTmpDir(java.lang.String tmpDir)
public java.lang.String getTmpDir()
public ConvertInternalSettings withTmpDir(java.lang.String tmpDir)
public void setSelftestOnStartup(boolean selftestOnStartup)
public boolean isSelftestOnStartup()
public ConvertInternalSettings withSelftestOnStartup(boolean selftestOnStartup)
public ConvertInternalSettings withSelftestOnStartup(java.lang.Boolean selftestOnStartup)
public void setRestrictUserId(boolean restrictUserId)
public boolean isRestrictUserId()
public ConvertInternalSettings withRestrictUserId(boolean restrictUserId)
public ConvertInternalSettings withRestrictUserId(java.lang.Boolean restrictUserId)
public ConvertInternalSettings makeCopy()
public static ConvertInternalSettings 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 ConvertInternalSettings 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.