public class RestartHost
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
hostname |
java.lang.String |
install |
Constructor and Description |
---|
RestartHost() |
RestartHost(RestartHost o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RestartHost.
|
static RestartHost |
fromString(java.lang.String s)
String representation of this RestartHost.
|
java.lang.String |
getHostname()
Host of the CloudView install to restart.
|
java.lang.String |
getInstall()
Name of the CloudView install to restart.
|
RestartHost |
makeCopy()
Creates and returns a deep copy of this RestartHost.
|
static RestartHost |
readFrom(java.io.InputStream is)
Read this RestartHost from an XML fragment.
|
void |
setHostname(java.lang.String hostname)
Host of the CloudView install to restart.
|
void |
setInstall(java.lang.String install)
Name of the CloudView install to restart.
|
java.lang.String |
toString()
String representation of this RestartHost.
|
RestartHost |
withHostname(java.lang.String hostname) |
RestartHost |
withInstall(java.lang.String install) |
void |
writeTo(java.io.OutputStream os)
Write this RestartHost as an XML fragment
|
public RestartHost()
public RestartHost(RestartHost o)
public void setHostname(java.lang.String hostname)
public java.lang.String getHostname()
public RestartHost withHostname(java.lang.String hostname)
public void setInstall(java.lang.String install)
public java.lang.String getInstall()
public RestartHost withInstall(java.lang.String install)
public RestartHost makeCopy()
public static RestartHost 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 RestartHost 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.