public class BeeServer extends DirectoryExtractNode implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
beeKey |
java.util.List<BeeService> |
beeService |
static int |
DEFAULT_START_RANK |
java.lang.String |
options |
int |
port |
java.lang.String |
protocol |
int |
startRank |
java.lang.String |
visibility |
name
Constructor and Description |
---|
BeeServer() |
BeeServer(BeeServer o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this BeeServer.
|
static BeeServer |
fromString(java.lang.String s)
String representation of this BeeServer.
|
java.lang.String |
getBeeKey()
The uniq Beegistry identifier
|
java.util.List<BeeService> |
getBeeService()
The list of bee-based services
|
java.lang.String |
getOptions()
A '/' (slash) separated list options key=value
|
int |
getPort()
The server port
|
java.lang.String |
getProtocol()
The server protocol
|
int |
getStartRank()
Specify the startup rank of this server.
|
java.lang.String |
getVisibility()
-
|
BeeServer |
makeCopy()
Creates and returns a deep copy of this BeeServer.
|
static BeeServer |
readFrom(java.io.InputStream is)
Read this BeeServer from an XML fragment.
|
void |
setBeeKey(java.lang.String beeKey)
The uniq Beegistry identifier
|
void |
setOptions(java.lang.String options)
A '/' (slash) separated list options key=value
|
void |
setPort(int port)
The server port
|
void |
setProtocol(java.lang.String protocol)
The server protocol
|
void |
setStartRank(int startRank)
Specify the startup rank of this server.
|
void |
setVisibility(java.lang.String visibility)
-
|
java.lang.String |
toString()
String representation of this BeeServer.
|
BeeServer |
withBeeKey(java.lang.String beeKey) |
BeeServer |
withBeeService(BeeService... __values)
The list of bee-based services
|
BeeServer |
withBeeService(java.util.Collection<BeeService> __values) |
BeeServer |
withName(java.lang.String name) |
BeeServer |
withOptions(java.lang.String options) |
BeeServer |
withPort(int port) |
BeeServer |
withPort(java.lang.Integer port) |
BeeServer |
withProtocol(java.lang.String protocol) |
BeeServer |
withStartRank(int startRank) |
BeeServer |
withStartRank(java.lang.Integer startRank) |
BeeServer |
withVisibility(java.lang.String visibility) |
void |
writeTo(java.io.OutputStream os)
Write this BeeServer as an XML fragment
|
getName, setName
public java.util.List<BeeService> beeService
public java.lang.String beeKey
public java.lang.String protocol
public int port
public java.lang.String options
public java.lang.String visibility
public int startRank
public static final int DEFAULT_START_RANK
public BeeServer()
public BeeServer(BeeServer o)
public BeeServer withName(java.lang.String name)
withName
in class DirectoryExtractNode
public java.util.List<BeeService> getBeeService()
public BeeServer withBeeService(BeeService... __values)
public BeeServer withBeeService(java.util.Collection<BeeService> __values)
public void setBeeKey(java.lang.String beeKey)
public java.lang.String getBeeKey()
public BeeServer withBeeKey(java.lang.String beeKey)
public void setProtocol(java.lang.String protocol)
public java.lang.String getProtocol()
public BeeServer withProtocol(java.lang.String protocol)
public void setPort(int port)
public int getPort()
public BeeServer withPort(int port)
public BeeServer withPort(java.lang.Integer port)
public void setOptions(java.lang.String options)
public java.lang.String getOptions()
public BeeServer withOptions(java.lang.String options)
public void setVisibility(java.lang.String visibility)
public java.lang.String getVisibility()
public BeeServer withVisibility(java.lang.String visibility)
public void setStartRank(int startRank)
public int getStartRank()
public BeeServer withStartRank(int startRank)
public BeeServer withStartRank(java.lang.Integer startRank)
public BeeServer makeCopy()
makeCopy
in class DirectoryExtractNode
public static BeeServer 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 DirectoryExtractNode
javax.xml.bind.JAXBException
java.io.IOException
public static BeeServer 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 DirectoryExtractNode
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DirectoryExtractNode
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.