public class SymptomIndex extends Symptom implements com.exalead.util.Checkable, java.io.Serializable
Symptom.Severity
Modifier and Type | Field and Description |
---|---|
java.lang.String |
host |
java.lang.String |
index |
DEFAULT_SEVERITY, DEFAULT_VALID, details, id, severity, valid, value
Constructor and Description |
---|
SymptomIndex() |
SymptomIndex(java.lang.String host,
java.lang.String index) |
SymptomIndex(SymptomIndex o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SymptomIndex.
|
static SymptomIndex |
fromString(java.lang.String s)
String representation of this SymptomIndex.
|
java.lang.String |
getHost()
Index host name
|
java.lang.String |
getIndex()
Index name
|
SymptomIndex |
makeCopy()
Creates and returns a deep copy of this SymptomIndex.
|
static SymptomIndex |
readFrom(java.io.InputStream is)
Read this SymptomIndex from an XML fragment.
|
void |
setHost(java.lang.String host)
Index host name
|
void |
setIndex(java.lang.String index)
Index name
|
java.lang.String |
toString()
String representation of this SymptomIndex.
|
SymptomIndex |
withDetails(java.lang.String details) |
SymptomIndex |
withHost(java.lang.String host) |
SymptomIndex |
withId(java.lang.String id) |
SymptomIndex |
withIndex(java.lang.String index) |
SymptomIndex |
withSeverity(java.lang.String severity) |
SymptomIndex |
withValid(boolean valid) |
SymptomIndex |
withValid(java.lang.Boolean valid) |
SymptomIndex |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this SymptomIndex as an XML fragment
|
getDetails, getId, getSeverity, getSeverityAsEnum, getValue, isA, isOneOf, isValid, setDetails, setId, setSeverity, setSeverity, setValid, setValue
public SymptomIndex()
public SymptomIndex(java.lang.String host, java.lang.String index)
public SymptomIndex(SymptomIndex o)
public SymptomIndex withId(java.lang.String id)
public SymptomIndex withValid(boolean valid)
public SymptomIndex withValid(java.lang.Boolean valid)
public SymptomIndex withSeverity(java.lang.String severity)
withSeverity
in class Symptom
public SymptomIndex withValue(java.lang.String value)
public SymptomIndex withDetails(java.lang.String details)
withDetails
in class Symptom
public void setHost(java.lang.String host)
public java.lang.String getHost()
public SymptomIndex withHost(java.lang.String host)
public void setIndex(java.lang.String index)
public java.lang.String getIndex()
public SymptomIndex withIndex(java.lang.String index)
public SymptomIndex makeCopy()
public static SymptomIndex 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
public static SymptomIndex 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()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.