public class CustomPublisher extends AlertPublisher implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CustomPublisher.Config |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classId |
protected CustomPublisher.Config |
config |
KeyValue |
keyValue |
name
Constructor and Description |
---|
CustomPublisher() |
CustomPublisher(CustomPublisher o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CustomPublisher.
|
static CustomPublisher |
fromString(java.lang.String s)
String representation of this CustomPublisher.
|
java.lang.String |
getClassId()
Publisher type
|
CustomPublisher.Config |
getConfig() |
KeyValue |
getKeyValue()
Deprecated.
|
CustomPublisher |
makeCopy()
Creates and returns a deep copy of this CustomPublisher.
|
static CustomPublisher |
readFrom(java.io.InputStream is)
Read this CustomPublisher from an XML fragment.
|
void |
setClassId(java.lang.String classId)
Publisher type
|
void |
setConfig(CustomPublisher.Config __value) |
void |
setKeyValue(KeyValue keyValue)
Deprecated.
|
java.lang.String |
toString()
String representation of this CustomPublisher.
|
CustomPublisher |
withClassId(java.lang.String classId) |
CustomPublisher |
withConfig(java.util.Collection<KeyValue> __values) |
CustomPublisher |
withConfig(CustomPublisher.Config __value) |
CustomPublisher |
withConfig(KeyValue... __values) |
CustomPublisher |
withKeyValue(KeyValue keyValue)
Deprecated.
|
CustomPublisher |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this CustomPublisher as an XML fragment
|
getName, setName
public java.lang.String classId
public KeyValue keyValue
protected CustomPublisher.Config config
public CustomPublisher()
public CustomPublisher(CustomPublisher o)
public CustomPublisher withName(java.lang.String name)
withName
in class AlertPublisher
public void setClassId(java.lang.String classId)
public java.lang.String getClassId()
public CustomPublisher withClassId(java.lang.String classId)
@Deprecated public void setKeyValue(KeyValue keyValue)
@Deprecated public KeyValue getKeyValue()
@Deprecated public CustomPublisher withKeyValue(KeyValue keyValue)
public CustomPublisher.Config getConfig()
public void setConfig(CustomPublisher.Config __value)
public CustomPublisher withConfig(KeyValue... __values)
public CustomPublisher withConfig(java.util.Collection<KeyValue> __values)
public CustomPublisher withConfig(CustomPublisher.Config __value)
public CustomPublisher makeCopy()
makeCopy
in class AlertPublisher
public static CustomPublisher 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
writeTo
in class AlertPublisher
javax.xml.bind.JAXBException
java.io.IOException
public static CustomPublisher 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 AlertPublisher
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class AlertPublisher
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.