public class PushServerStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_DIH_COMPACTING |
static boolean |
DEFAULT_ENABLED |
static boolean |
DEFAULT_VALID |
boolean |
dihCompacting |
boolean |
enabled |
java.lang.String |
reason |
boolean |
valid |
Constructor and Description |
---|
PushServerStatus() |
PushServerStatus(PushServerStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this PushServerStatus.
|
static PushServerStatus |
fromString(java.lang.String s)
String representation of this PushServerStatus.
|
java.lang.String |
getReason()
Returns the reason associated to the status.
|
boolean |
isDihCompacting()
Is the underlying DIH storage compacting?
|
boolean |
isEnabled()
Returns TRUE if pushserver is enabled.
|
boolean |
isValid()
Returns TRUE if pushserver is valid.
|
PushServerStatus |
makeCopy()
Creates and returns a deep copy of this PushServerStatus.
|
static PushServerStatus |
readFrom(java.io.InputStream is)
Read this PushServerStatus from an XML fragment.
|
void |
setDihCompacting(boolean dihCompacting)
Is the underlying DIH storage compacting?
|
void |
setEnabled(boolean enabled)
Returns TRUE if pushserver is enabled.
|
void |
setReason(java.lang.String reason)
Returns the reason associated to the status.
|
void |
setValid(boolean valid)
Returns TRUE if pushserver is valid.
|
java.lang.String |
toString()
String representation of this PushServerStatus.
|
PushServerStatus |
withDihCompacting(boolean dihCompacting) |
PushServerStatus |
withDihCompacting(java.lang.Boolean dihCompacting) |
PushServerStatus |
withEnabled(boolean enabled) |
PushServerStatus |
withEnabled(java.lang.Boolean enabled) |
PushServerStatus |
withReason(java.lang.String reason) |
PushServerStatus |
withValid(boolean valid) |
PushServerStatus |
withValid(java.lang.Boolean valid) |
void |
writeTo(java.io.OutputStream os)
Write this PushServerStatus as an XML fragment
|
public boolean enabled
public static final boolean DEFAULT_ENABLED
public boolean valid
public static final boolean DEFAULT_VALID
public java.lang.String reason
public boolean dihCompacting
public static final boolean DEFAULT_DIH_COMPACTING
public PushServerStatus()
public PushServerStatus(PushServerStatus o)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public PushServerStatus withEnabled(boolean enabled)
public PushServerStatus withEnabled(java.lang.Boolean enabled)
public void setValid(boolean valid)
public boolean isValid()
public PushServerStatus withValid(boolean valid)
public PushServerStatus withValid(java.lang.Boolean valid)
public void setReason(java.lang.String reason)
public java.lang.String getReason()
public PushServerStatus withReason(java.lang.String reason)
public void setDihCompacting(boolean dihCompacting)
public boolean isDihCompacting()
public PushServerStatus withDihCompacting(boolean dihCompacting)
public PushServerStatus withDihCompacting(java.lang.Boolean dihCompacting)
public PushServerStatus makeCopy()
public static PushServerStatus 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 PushServerStatus 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.