public abstract class CommonProcessorConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
context |
static boolean |
DEFAULT_ENABLED |
static boolean |
DEFAULT_PERF_MONITORED |
java.lang.String |
description |
boolean |
enabled |
java.lang.String |
mime |
java.lang.String |
name |
boolean |
perfMonitored |
Constructor and Description |
---|
CommonProcessorConfig() |
CommonProcessorConfig(CommonProcessorConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CommonProcessorConfig.
|
static CommonProcessorConfig |
fromString(java.lang.String s)
String representation of this CommonProcessorConfig.
|
java.lang.String |
getContext()
Indicates the context in which the processing operation will occur
create/update
delete
|
java.lang.String |
getDescription()
Description of this processor
|
java.lang.String |
getMime()
Mime-type of the language used to define the processor.
|
java.lang.String |
getName()
Identifies this processor uniquely in the processing step
|
boolean |
isEnabled() |
boolean |
isPerfMonitored()
Show the processor statistics in the Monitoring Console.
|
CommonProcessorConfig |
makeCopy() |
static CommonProcessorConfig |
readFrom(java.io.InputStream is)
Read this CommonProcessorConfig from an XML fragment.
|
void |
setContext(java.lang.String context)
Indicates the context in which the processing operation will occur
create/update
delete
|
void |
setDescription(java.lang.String description)
Description of this processor
|
void |
setEnabled(boolean enabled) |
void |
setMime(java.lang.String mime)
Mime-type of the language used to define the processor.
|
void |
setName(java.lang.String name)
Identifies this processor uniquely in the processing step
|
void |
setPerfMonitored(boolean perfMonitored)
Show the processor statistics in the Monitoring Console.
|
java.lang.String |
toString()
String representation of this CommonProcessorConfig.
|
CommonProcessorConfig |
withContext(java.lang.String context) |
CommonProcessorConfig |
withDescription(java.lang.String description) |
CommonProcessorConfig |
withEnabled(boolean enabled) |
CommonProcessorConfig |
withEnabled(java.lang.Boolean enabled) |
CommonProcessorConfig |
withMime(java.lang.String mime) |
CommonProcessorConfig |
withName(java.lang.String name) |
CommonProcessorConfig |
withPerfMonitored(boolean perfMonitored) |
CommonProcessorConfig |
withPerfMonitored(java.lang.Boolean perfMonitored) |
void |
writeTo(java.io.OutputStream os) |
public java.lang.String name
public java.lang.String description
public boolean enabled
public static final boolean DEFAULT_ENABLED
public java.lang.String mime
public boolean perfMonitored
public static final boolean DEFAULT_PERF_MONITORED
public java.lang.String context
public CommonProcessorConfig()
public CommonProcessorConfig(CommonProcessorConfig o)
public void setName(java.lang.String name)
public java.lang.String getName()
public CommonProcessorConfig withName(java.lang.String name)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public CommonProcessorConfig withDescription(java.lang.String description)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public CommonProcessorConfig withEnabled(boolean enabled)
public CommonProcessorConfig withEnabled(java.lang.Boolean enabled)
public void setMime(java.lang.String mime)
public java.lang.String getMime()
public CommonProcessorConfig withMime(java.lang.String mime)
public void setPerfMonitored(boolean perfMonitored)
public boolean isPerfMonitored()
public CommonProcessorConfig withPerfMonitored(boolean perfMonitored)
public CommonProcessorConfig withPerfMonitored(java.lang.Boolean perfMonitored)
public void setContext(java.lang.String context)
public java.lang.String getContext()
public CommonProcessorConfig withContext(java.lang.String context)
public CommonProcessorConfig makeCopy()
public static CommonProcessorConfig 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 CommonProcessorConfig 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.