public class CustomConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<KeyValue> |
keyValue |
java.lang.String |
name |
Constructor and Description |
---|
CustomConfig() |
CustomConfig(CustomConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CustomConfig.
|
static CustomConfig |
fromString(java.lang.String s)
String representation of this CustomConfig.
|
java.util.List<KeyValue> |
getKeyValue() |
java.lang.String |
getName()
Name of the custom configuration entry.
|
CustomConfig |
makeCopy()
Creates and returns a deep copy of this CustomConfig.
|
static CustomConfig |
readFrom(java.io.InputStream is)
Read this CustomConfig from an XML fragment.
|
void |
setName(java.lang.String name)
Name of the custom configuration entry.
|
java.lang.String |
toString()
String representation of this CustomConfig.
|
CustomConfig |
withKeyValue(java.util.Collection<KeyValue> __values) |
CustomConfig |
withKeyValue(KeyValue... __values) |
CustomConfig |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this CustomConfig as an XML fragment
|
public java.util.List<KeyValue> keyValue
public java.lang.String name
public CustomConfig()
public CustomConfig(CustomConfig o)
public java.util.List<KeyValue> getKeyValue()
public CustomConfig withKeyValue(KeyValue... __values)
public CustomConfig withKeyValue(java.util.Collection<KeyValue> __values)
public void setName(java.lang.String name)
public java.lang.String getName()
public CustomConfig withName(java.lang.String name)
public CustomConfig makeCopy()
public static CustomConfig 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 CustomConfig 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.